org.json4s.native

Members list

Type members

Classlikes

object Json

Attributes

Companion
class
Source
Json.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Json.type
class Json(fmts: Formats) extends JsonUtil

Attributes

Companion
object
Source
Json.scala
Supertypes
class JsonUtil
class Object
trait Matchable
class Any
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:

val hints = new ShortTypeHints( ... )
implicit val formats: Formats = Serialization.formats(hints)

Attributes

See also

org.json4s.TypeHints

Source
Serialization.scala
Supertypes
trait Serialization
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def compactJson(d: Document): String

Attributes

Source
package.scala
def parseJson[A : AsJsonInput](in: A, useBigDecimalForDouble: Boolean): JValue

Attributes

Source
package.scala
def parseJsonOpt[A : AsJsonInput](in: A, useBigDecimalForDouble: Boolean): Option[JValue]

Attributes

Source
package.scala
def prettyJson(d: Document): String

Attributes

Source
package.scala
def renderJValue(value: JValue)(implicit formats: Formats): Document

Attributes

Source
package.scala