JSON parser.
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))
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