Printer

object Printer extends Printer

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
class Object
trait Matchable
class Any

Value members

Inherited methods

def compact[A <: Writer](d: Document, out: A): A

Compact printing (no whitespace etc.)

Compact printing (no whitespace etc.)

Inherited from
Printer
def compact(d: Document): String

Compact printing (no whitespace etc.)

Compact printing (no whitespace etc.)

Inherited from
Printer
def pretty[A <: Writer](d: Document, out: A): A

Pretty printing.

Pretty printing.

Inherited from
Printer
def pretty(d: Document): String

Pretty printing.

Pretty printing.

Inherited from
Printer