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
JSON parser.
Printer converts JSON to String.
Printer converts JSON to String.
Before printing a JValue
needs to be rendered into Document.
Example:
pretty(render(json))
org.json4s.JsonAST#render
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)
org.json4s.TypeHints