package json4s
Ordering
- Alphabetic
Visibility
- Public
- Protected
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 DefaultReaders
- trait DefaultReaders extends DefaultReaders0
- trait DefaultWriters extends AnyRef
- case class Diff(changed: JsonAST.JValue, added: JsonAST.JValue, deleted: JsonAST.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 FormatFunctions 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
- sealed trait JNumber extends JValue
- 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.
- trait JValueParent extends AnyRef
- 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
- trait JsonKeyWriter[A] extends AnyRef
- final class JsonListAssoc extends AnyVal
- trait JsonMethods[T] extends AnyRef
- trait JsonWriter[T] extends AnyRef
- class MappingException extends Exception
- final class MonadicJValue extends AnyVal
- trait Reader[T] extends AnyRef
- Annotations
- @implicitNotFound()
- trait ReaderFunctions extends AnyRef
- 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()
- trait WriterFunctions extends AnyRef
Value Members
- object AsJsonInput extends AsJsonInputInstances
- object BigDecimalJsonFormats extends BigDecimalJsonFormats
- object BigDecimalMode extends Implicits with BigDecimalMode
- object BigDecimalWriters extends BigDecimalWriters
- case 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
- case object JNothing extends JValue with Product with Serializable
- case object JNull extends JValue with Product with Serializable
- case object JObject extends Product with Serializable
- object JValue extends Mergeable with JValueParent 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 JsonFormat extends FormatFunctions
- object JsonKeyWriter
- object JsonWriter
- object MappingException extends Serializable
- object Merge
Function to merge two JSONs.
- object MonadicJValue
- object ParserUtil
- object Reader extends ReaderFunctions
- object Writer extends WriterFunctions