Create Serialization formats with given type hints.
Create Serialization formats with given type hints.
Example:
val hints = new ShortTypeHints( ... ) implicit val formats = Serialization.formats(hints)
Deserialize from a Reader.
Deserialize from a String.
Serialize to Writer.
Serialize to String.
Serialize to Writer (pretty format).
Serialize to String (pretty format).
Functions to serialize and deserialize a case class. Custom serializer can be inserted if a class is not a case class.
Example:
net.liftweb.json.TypeHints