Package

org.json4s

native

Permalink

package native

Source
package.scala
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. case class DocCons(hd: Document, tl: Document) extends Document with Product with Serializable

    Permalink
  2. case class DocGroup(doc: Document) extends Document with Product with Serializable

    Permalink
  3. case class DocNest(indent: Int, doc: Document) extends Document with Product with Serializable

    Permalink
  4. case class DocText(txt: String) extends Document with Product with Serializable

    Permalink
  5. sealed abstract class Document extends Product with Serializable

    Permalink

    A basic pretty-printing library, based on Lindig's strict version of Wadler's adaptation of Hughes' pretty-printer.

    A basic pretty-printing library, based on Lindig's strict version of Wadler's adaptation of Hughes' pretty-printer.

    derived from https://github.com/scala/scala/blob/v2.11.8/src/library/scala/text/Document.scala

  6. class Json extends JsonUtil

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

    Permalink
  8. trait Printer extends AnyRef

    Permalink

Value Members

  1. object DocBreak extends Document with Product with Serializable

    Permalink
  2. object DocNil extends Document with Product with Serializable

    Permalink
  3. object Document extends Serializable

    Permalink
  4. object Json

    Permalink
  5. object JsonMethods extends JsonMethods

    Permalink
  6. object JsonParser

    Permalink

    JSON parser.

  7. object Printer extends Printer

    Permalink

    Printer converts JSON to String.

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

    Example:

    pretty(render(json))
    

    See also

    org.json4s.JsonAST#render

  8. 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

  9. def compactJson(d: Document): String

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

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

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

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

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped