org.json4s.jackson

Members list

Type members

Classlikes

class JacksonSerialization(jsonMethods: JsonMethods) 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
Known subtypes
object Serialization
object Json

Attributes

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

Attributes

Companion
object
Source
Json.scala
Supertypes
class JsonUtil
class Object
trait Matchable
class Any

Serialization using default JsonMethods

Serialization using default JsonMethods

Attributes

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

Value members

Concrete methods

def compactJson(d: JValue): 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: JValue): String

Attributes

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

Attributes

Source
package.scala