org.json4s.native

Type members

Classlikes

object Json
Companion
class
class Json(fmts: Formats) extends JsonUtil
Companion
object
object Serialization extends Serialization

Functions to serialize and deserialize a case class. Custom serializer can be inserted if a class is not 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:

<pre> val hints = new ShortTypeHints( ... ) implicit val formats: Formats = Serialization.formats(hints) </pre>

See also

org.json4s.TypeHints

Value members

Concrete methods

def compactJson(d: Document): String
def parseJson[A](in: A, useBigDecimalForDouble: Boolean)(implicit evidence$1: AsJsonInput[A]): JValue
def parseJsonOpt[A](in: A, useBigDecimalForDouble: Boolean)(implicit evidence$2: AsJsonInput[A]): Option[JValue]
def prettyJson(d: Document): String
def renderJValue(value: JValue)(implicit formats: Formats): Document