Packages

p

org.json4s

native

package native

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. native
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class Json extends JsonUtil
  2. trait JsonMethods extends json4s.JsonMethods[Document]
  3. trait Printer extends AnyRef

Value Members

  1. def compactJson(d: Document): String
  2. def parseJson(in: JsonInput, useBigDecimalForDouble: Boolean = false): JValue
  3. def parseJsonOpt(in: JsonInput, useBigDecimalForDouble: Boolean = false): Option[JValue]
  4. def prettyJson(d: Document): String
  5. def renderJValue(value: JValue)(implicit formats: Formats = DefaultFormats): Document
  6. object Json
  7. object JsonMethods extends JsonMethods
  8. object JsonParser

    JSON parser.

  9. object Printer extends Printer

    Printer converts JSON to String.

    Printer converts JSON to String. Before printing a JValue needs to be rendered into scala.text.Document.

    Example:

    pretty(render(json))
    

    See also

    org.json4s.JsonAST#render

  10. object Serialization extends Serialization

    Functions to serialize and deserialize a case class.

    Functions to serialize and deserialize a case class. Custom serializer can be inserted if a class is not a case class.

    Example:

    val hints = new ShortTypeHints( ... )
    implicit val formats = Serialization.formats(hints)
    

    See also

    org.json4s.TypeHints

Inherited from AnyRef

Inherited from Any

Ungrouped