org.json4s

package org.json4s

Members list

Packages

Type members

Classlikes

trait AsJsonInput[A]

Attributes

Companion
object
Source
AsJsonInput.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
trait
Source
AsJsonInput.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
AsJsonInputInstances.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AsJsonInput
Self type

Attributes

Companion
object
Source
JsonFormat.scala
Supertypes
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
trait
Source
JsonFormat.scala
Supertypes
class Object
trait Matchable
class Any
Show all
Self type

Basic implicit conversions from primitive types into JSON. Example:

Basic implicit conversions from primitive types into JSON. Example:

import org.json4s.Implicits._
JObject(JField("name", "joe") :: Nil) == JObject(JField("name", JString("joe")) :: Nil)

Attributes

Companion
object
Source
JsonDSL.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type

Attributes

Companion
trait
Source
JsonDSL.scala
Supertypes
trait Implicits
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Source
Writer.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Source
Writer.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case object BuildInfo

This object was generated by sbt-buildinfo.

This object was generated by sbt-buildinfo.

Attributes

Source
BuildInfo.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
BuildInfo.type

Attributes

Companion
trait
Source
JsonFormat.scala
Supertypes
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Companion
object
Source
JsonFormat.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
trait
Source
Reader.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Source
Reader.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
object
Source
Writer.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object DefaultWriters extends DoubleWriters

Attributes

Companion
trait
Source
Writer.scala
Supertypes
class Object
trait Matchable
class Any
Self type
case class Diff(changed: JValue, added: JValue, deleted: JValue)

A difference between two JSONs (j1 diff j2).

A difference between two JSONs (j1 diff j2).

Value parameters

added

what has been added to j2

changed

what has changed from j1 to j2

deleted

what has been deleted from j1

Attributes

Companion
object
Source
Diff.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Diff

Computes a diff between two JSONs.

Computes a diff between two JSONs.

Attributes

Companion
class
Source
Diff.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Diff.type

Attributes

Companion
object
Source
JsonFormat.scala
Supertypes
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
trait
Source
JsonFormat.scala
Supertypes
class Object
trait Matchable
class Any
Show all
Self type
trait DoubleMode

Attributes

Companion
object
Source
JsonDSL.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object DoubleMode
object WithDouble
object JsonDSL
Self type
object DoubleMode extends Implicits, DoubleMode

Attributes

Companion
trait
Source
JsonDSL.scala
Supertypes
trait DoubleMode
trait Implicits
class Object
trait Matchable
class Any
Self type
DoubleMode.type

Attributes

Companion
object
Source
Writer.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object DoubleWriters extends DoubleWriters

Attributes

Companion
trait
Source
Writer.scala
Supertypes
class Object
trait Matchable
class Any
Self type
class DynamicJValue(val raw: JValue) extends Dynamic

Attributes

Companion
object
Source
DynamicJValue.scala
Supertypes
trait Dynamic
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
DynamicJValue.scala
Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Source
DynamicJValue.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object DynamicJValue
case class FileInput(file: File) extends JsonInput

Attributes

Source
JsonInput.scala
Supertypes
class JsonInput
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Source
FormatFunctions.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object JsonFormat
Self type
JsonFormat.type
trait Implicits

Attributes

Source
JsonDSL.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object DoubleMode
trait JsonDSL
object WithDouble
object JsonDSL
Show all
case class JArray(arr: List[JValue]) extends JValue

Attributes

Source
JValue.scala
Supertypes
class JValue
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class JBool(value: Boolean) extends JValue

Attributes

Companion
object
Source
JValue.scala
Supertypes
class JValue
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object JBool

Attributes

Companion
class
Source
JValue.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
JBool.type
case class JDecimal(num: BigDecimal) extends JValue, JNumber

Attributes

Source
JValue.scala
Supertypes
trait JNumber
class JValue
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class JDouble(num: Double) extends JValue, JNumber

Attributes

Source
JValue.scala
Supertypes
trait JNumber
class JValue
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object JField

Attributes

Source
JValue.scala
Supertypes
class Object
trait Matchable
class Any
Self type
JField.type
case class JInt(num: BigInt) extends JValue, JNumber

Attributes

Source
JValue.scala
Supertypes
trait JNumber
class JValue
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class JLong(num: Long) extends JValue, JNumber

Attributes

Source
JValue.scala
Supertypes
trait JNumber
class JValue
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object JNothing extends JValue

Attributes

Source
JValue.scala
Supertypes
trait Singleton
trait Product
trait Mirror
class JValue
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
JNothing.type
case object JNull extends JValue

Attributes

Source
JValue.scala
Supertypes
trait Singleton
trait Product
trait Mirror
class JValue
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
JNull.type
sealed trait JNumber extends JValue

Attributes

Source
JValue.scala
Supertypes
class JValue
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class JDecimal
class JDouble
class JInt
class JLong
case class JObject(obj: List[JField]) extends JValue

Attributes

Companion
object
Source
JValue.scala
Supertypes
class JValue
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object JObject

Attributes

Companion
class
Source
JValue.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
JObject.type
case class JSet(set: Set[JValue]) extends JValue

Attributes

Source
JValue.scala
Supertypes
class JValue
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class JString(s: String) extends JValue

Attributes

Source
JValue.scala
Supertypes
class JValue
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object JValue extends JValueParent

Attributes

Companion
class
Source
JValue.scala
Supertypes
trait Sum
trait Mirror
trait JValueParent
class Object
trait Matchable
class Any
Show all
Self type
JValue.type
sealed abstract class JValue extends Product, Serializable

Data type for JSON AST.

Data type for JSON AST.

Attributes

Companion
object
Source
JValue.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class JArray
class JBool
class JDecimal
class JDouble
class JInt
class JLong
object JNothing
object JNull
trait JNumber
class JObject
class JSet
class JString
Show all
trait JValueParent

Attributes

Source
JValueParent.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object JValue
Self type
JValue.type
object JsonAST

Attributes

Source
JsonAST.scala
Supertypes
class Object
trait Matchable
class Any
Self type
JsonAST.type
final class JsonAssoc[A](left: (String, A)) extends AnyVal

Attributes

Source
JsonDSL.scala
Supertypes
class AnyVal
trait Matchable
class Any
object JsonDSL extends JsonDSL, DoubleMode

A DSL to produce valid JSON. Example:

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)

Attributes

Companion
trait
Source
JsonDSL.scala
Supertypes
trait DoubleMode
trait JsonDSL
trait Implicits
class Object
trait Matchable
class Any
Show all
Self type
JsonDSL.type
trait JsonDSL extends Implicits

Attributes

Companion
object
Source
JsonDSL.scala
Supertypes
trait Implicits
class Object
trait Matchable
class Any
Known subtypes
object WithDouble
object JsonDSL
object JsonFormat extends FormatFunctions

Attributes

Companion
trait
Source
JsonFormat.scala
Supertypes
class Object
trait Matchable
class Any
Self type
JsonFormat.type
trait JsonFormat[T] extends Writer[T], Reader[T]

Attributes

Companion
object
Source
JsonFormat.scala
Supertypes
trait Reader[T]
trait Writer[T]
class Object
trait Matchable
class Any
sealed abstract class JsonInput extends Product, Serializable

Attributes

Source
JsonInput.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class FileInput
class ReaderInput
class StreamInput
class StringInput
trait JsonKeyWriter[A]

Attributes

Companion
object
Source
JsonKeyWriter.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object JsonKeyWriter

Attributes

Companion
trait
Source
JsonKeyWriter.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final class JsonListAssoc(left: List[JField]) extends AnyVal

Attributes

Source
JsonDSL.scala
Supertypes
class AnyVal
trait Matchable
class Any
trait JsonMethods[T]

Attributes

Source
JsonMethods.scala
Supertypes
class Object
trait Matchable
class Any
object JsonWriter

Attributes

Companion
trait
Source
json_writers.scala
Supertypes
class Object
trait Matchable
class Any
Self type
JsonWriter.type
trait JsonWriter[T]

Attributes

Companion
object
Source
json_writers.scala
Supertypes
class Object
trait Matchable
class Any
class MappingException(val msg: String, val cause: Exception) extends Exception

Attributes

Companion
object
Source
MappingException.scala
Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
class Multi

Attributes

Companion
class
Source
MappingException.scala
Supertypes
class Object
trait Matchable
class Any
Self type
object Merge

Function to merge two JSONs.

Function to merge two JSONs.

Attributes

Source
Merge.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Merge.type
object MonadicJValue

Attributes

Companion
class
Source
MonadicJValue.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final class MonadicJValue(jv: JValue) extends AnyVal

Attributes

Companion
object
Source
MonadicJValue.scala
Supertypes
class AnyVal
trait Matchable
class Any
object ParserUtil

Attributes

Source
ParserUtil.scala
Supertypes
class Object
trait Matchable
class Any
Self type
ParserUtil.type
trait Reader[T]

Attributes

Companion
object
Source
Reader.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait JsonFormat[T]
Self type
Reader[T]
object Reader extends ReaderFunctions

Attributes

Companion
trait
Source
Reader.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Reader.type

Attributes

Source
ReaderFunctions.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Reader
Self type
Reader.type
case class ReaderInput(reader: Reader) extends JsonInput

Attributes

Source
JsonInput.scala
Supertypes
class JsonInput
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final class ReaderSyntax(jv: JValue) extends AnyVal

Attributes

Source
ReaderSyntax.scala
Supertypes
class AnyVal
trait Matchable
class Any
final class SomeValue[A](val get: A) extends AnyVal

Attributes

Source
SomeValue.scala
Supertypes
class AnyVal
trait Matchable
class Any
case class StreamInput(stream: InputStream) extends JsonInput

Attributes

Source
JsonInput.scala
Supertypes
class JsonInput
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class StringInput(string: String) extends JsonInput

Attributes

Source
JsonInput.scala
Supertypes
class JsonInput
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final class ToJsonWritable[T](a: T) extends AnyVal

Attributes

Source
ToJsonWritable.scala
Supertypes
class AnyVal
trait Matchable
class Any
trait Writer[-T]

Attributes

Companion
object
Source
Writer.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait JsonFormat[T]
Self type
Writer[T]
object Writer extends WriterFunctions

Attributes

Companion
trait
Source
Writer.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Writer.type

Attributes

Source
WriterFunctions.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Writer
Self type
Writer.type