Package

org.json4s

native

Permalink

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

    Permalink
  2. trait JsonMethods extends json4s.JsonMethods[Document]

    Permalink
  3. trait Printer extends AnyRef

    Permalink

Value Members

  1. object Json

    Permalink
  2. object JsonMethods extends JsonMethods

    Permalink
  3. object JsonParser

    Permalink

    JSON parser.

  4. object Printer extends Printer

    Permalink

    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

  5. object Serialization extends Serialization

    Permalink

    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

  6. def compactJson(d: Document): String

    Permalink
  7. def parseJson(in: JsonInput, useBigDecimalForDouble: Boolean = false): JValue

    Permalink
  8. def parseJsonOpt(in: JsonInput, useBigDecimalForDouble: Boolean = false): Option[JValue]

    Permalink
  9. def prettyJson(d: Document): String

    Permalink
  10. def renderJValue(value: JValue)(implicit formats: Formats = DefaultFormats): Document

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped