JacksonSerialization
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: Formats = Serialization.formats(hints)
- See also:
org.json4s.TypeHints
- Source:
- Serialization.scala
Value members
Concrete methods
Serialize to String (pretty format).
Serialize to String (pretty format).
- Source:
- Serialization.scala
Serialize to Writer (pretty format).
Serialize to Writer (pretty format).
- Source:
- Serialization.scala
Inherited methods
Create Serialization formats with given type hints.
Create Serialization formats with given type hints.
Example:
val hints = new ShortTypeHints( ... ) implicit val formats: Formats = Serialization.formats(hints)
- Inherited from:
- Serialization
- Source:
- Serialization.scala
Deserialize from a String.
Deserialize from a String.
- Inherited from:
- Serialization
- Source:
- Serialization.scala