package json4s
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- trait AsJsonInput[A] extends AnyRef
- trait AsJsonInputInstances extends AnyRef
- trait BigDecimalJsonFormats extends DefaultJsonFormats with DefaultReaders with BigDecimalWriters
-
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)
- trait BigDecimalWriters extends DefaultWriters
- trait DefaultJsonFormats extends AnyRef
- trait DefaultReaders extends DefaultReaders0
- trait DefaultWriters extends AnyRef
-
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 DoubleJsonFormats extends DefaultJsonFormats with DefaultReaders with DoubleWriters
- trait DoubleMode extends AnyRef
- trait DoubleWriters extends DefaultWriters
- class DynamicJValue extends Dynamic
- trait DynamicJValueImplicits extends AnyRef
- case class FileInput(file: File) extends JsonInput with Product with Serializable
- 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
-
trait
JsonFormat[T] extends Writer[T] with Reader[T]
- Annotations
- @implicitNotFound( ... )
- sealed abstract class JsonInput extends Product with Serializable
- final class JsonListAssoc extends AnyVal
- trait JsonMethods[T] extends AnyRef
- trait JsonWriter[T] extends AnyRef
- case class MappingException(msg: String, cause: Exception) extends Exception with Product with Serializable
- final class MonadicJValue extends AnyVal
-
trait
Reader[T] extends AnyRef
- Annotations
- @implicitNotFound( ... )
- case class ReaderInput(reader: java.io.Reader) extends JsonInput with Product with Serializable
- final class ReaderSyntax extends AnyVal
- final class SomeValue[A] extends AnyVal
- case class StreamInput(stream: InputStream) extends JsonInput with Product with Serializable
- case class StringInput(string: String) extends JsonInput with Product with Serializable
- final class ToJsonWritable[T] extends AnyVal
-
trait
Writer[-T] extends AnyRef
- Annotations
- @implicitNotFound( ... )
Value Members
- object AsJsonInput extends AsJsonInputInstances
- object BigDecimalJsonFormats extends BigDecimalJsonFormats
- object BigDecimalMode extends Implicits with BigDecimalMode
- object BigDecimalWriters extends BigDecimalWriters
-
object
BuildInfo extends Product with Serializable
This object was generated by sbt-buildinfo.
- object DefaultJsonFormats extends DoubleJsonFormats
- object DefaultReaders extends DefaultReaders
- object DefaultWriters extends DoubleWriters
-
object
Diff extends Serializable
Computes a diff between two JSONs.
- object DoubleJsonFormats extends DoubleJsonFormats
- object DoubleMode extends Implicits with DoubleMode
- object DoubleWriters extends DoubleWriters
- object DynamicJValue extends DynamicJValueImplicits
- 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 JsonWriter
-
object
Merge
Function to merge two JSONs.
- object MonadicJValue
- object ParserUtil
- object Reader
- object Writer