package json4s
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
trait
BigDecimalMode extends AnyRef
Basic implicit conversions from primitive types into JSON.
Basic implicit conversions from primitive types into JSON. Example:
import org.json4s.Implicits._ JObject(JField("name", "joe") :: Nil) == JObject(JField("name", JString("joe")) :: Nil) -
case class
Diff(changed: JValue, added: JValue, deleted: JValue) extends Product with Serializable
A difference between two JSONs (j1 diff j2).
A difference between two JSONs (j1 diff j2).
- changed
what has changed from j1 to j2
- added
what has been added to j2
- deleted
what has been deleted from j1
- trait DoubleMode extends AnyRef
- trait Implicits extends AnyRef
- case class JArray(arr: List[JValue]) extends JValue with Product with Serializable
- case class JBool(value: Boolean) extends JValue with Product with Serializable
- case class JDecimal(num: BigDecimal) extends JValue with JNumber with Product with Serializable
- case class JDouble(num: Double) extends JValue with JNumber with Product with Serializable
- case class JInt(num: BigInt) extends JValue with JNumber with Product with Serializable
- case class JLong(num: Long) extends JValue with JNumber with Product with Serializable
- trait JNumber extends AnyRef
- case class JObject(obj: List[JField]) extends JValue with Product with Serializable
- case class JSet(set: Set[JValue]) extends JValue with Product with Serializable
- case class JString(s: String) extends JValue with Product with Serializable
-
sealed abstract
class
JValue extends Diffable with Product with Serializable
Data type for JSON AST.
- final class JsonAssoc[A] extends AnyVal
- trait JsonDSL extends Implicits
- final class JsonListAssoc extends AnyVal
- final class SomeValue[A] extends AnyVal
Value Members
- object BigDecimalMode extends Implicits with BigDecimalMode
-
object
BuildInfo extends Product with Serializable
This object was generated by sbt-buildinfo.
-
object
Diff extends Serializable
Computes a diff between two JSONs.
- object DoubleMode extends Implicits with DoubleMode
- object JBool extends Serializable
- object JField
- object JNothing extends JValue with Product with Serializable
- object JNull extends JValue with Product with Serializable
- object JObject extends Product with Serializable
- object JValue extends Mergeable with Serializable
- object JsonAST
-
object
JsonDSL extends JsonDSL with DoubleMode
A DSL to produce valid JSON.
A DSL to produce valid JSON. Example:
import org.json4s.JsonDSL._ ("name", "joe") ~ ("age", 15) == JObject(JField("name",JString("joe")) :: JField("age",JInt(15)) :: Nil) -
object
Merge
Function to merge two JSONs.