org.json4s.native

Type members

Classlikes

case
object DocBreak extends Document
case
class DocCons(hd: Document, tl: Document) extends Document
case
class DocGroup(doc: Document) extends Document
case
class DocNest(indent: Int, doc: Document) extends Document
case
object DocNil extends Document
case
class DocText(txt: String) extends Document
sealed abstract
class Document extends Product with Serializable

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

Companion
object
object Document
Companion
class
trait JsonMethods extends JsonMethods[Document]
Companion
object
object JsonMethods extends JsonMethods
Companion
class
object JsonParser

JSON parser.

JSON parser.

object Printer extends Printer

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

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

Companion
class
trait Printer
Companion
object