play.api.libs.json.jackson

PlayJsonModule

Related Doc: package jackson

object PlayJsonModule extends SimpleModule

The Play JSON module for Jackson.

This can be used if you want to use a custom Jackson ObjectMapper, or more advanced Jackson features when working with JsValue. To use this:

import com.fasterxml.jackson.databind.ObjectMapper

val mapper = new ObjectMapper().registerModule(PlayJsonModule)
val jsValue = mapper.readValue("""{"foo":"bar"}""", classOf[JsValue])
Source
JacksonJson.scala
Linear Supertypes
SimpleModule, Serializable, Module, Versioned, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PlayJsonModule
  2. SimpleModule
  3. Serializable
  4. Module
  5. Versioned
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def addAbstractTypeMapping[T](arg0: Class[T], arg1: Class[_ <: T]): SimpleModule

    Definition Classes
    SimpleModule
  5. def addDeserializer[T](arg0: Class[T], arg1: JsonDeserializer[_ <: T]): SimpleModule

    Definition Classes
    SimpleModule
  6. def addKeyDeserializer(arg0: Class[_], arg1: KeyDeserializer): SimpleModule

    Definition Classes
    SimpleModule
  7. def addKeySerializer[T](arg0: Class[_ <: T], arg1: JsonSerializer[T]): SimpleModule

    Definition Classes
    SimpleModule
  8. def addSerializer[T](arg0: Class[_ <: T], arg1: JsonSerializer[T]): SimpleModule

    Definition Classes
    SimpleModule
  9. def addSerializer(arg0: JsonSerializer[_]): SimpleModule

    Definition Classes
    SimpleModule
  10. def addValueInstantiator(arg0: Class[_], arg1: ValueInstantiator): SimpleModule

    Definition Classes
    SimpleModule
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def getModuleName(): String

    Definition Classes
    SimpleModule → Module
  18. def getTypeId(): AnyRef

    Definition Classes
    SimpleModule → Module
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def registerSubtypes(arg0: <repeated...>[NamedType]): SimpleModule

    Definition Classes
    SimpleModule
  25. def registerSubtypes(arg0: <repeated...>[Class[_]]): SimpleModule

    Definition Classes
    SimpleModule
  26. def setAbstractTypes(arg0: SimpleAbstractTypeResolver): Unit

    Definition Classes
    SimpleModule
  27. def setDeserializerModifier(arg0: BeanDeserializerModifier): SimpleModule

    Definition Classes
    SimpleModule
  28. def setDeserializers(arg0: SimpleDeserializers): Unit

    Definition Classes
    SimpleModule
  29. def setKeyDeserializers(arg0: SimpleKeyDeserializers): Unit

    Definition Classes
    SimpleModule
  30. def setKeySerializers(arg0: SimpleSerializers): Unit

    Definition Classes
    SimpleModule
  31. def setMixInAnnotation(arg0: Class[_], arg1: Class[_]): SimpleModule

    Definition Classes
    SimpleModule
  32. def setNamingStrategy(arg0: PropertyNamingStrategy): SimpleModule

    Attributes
    protected[com.fasterxml.jackson.databind.module]
    Definition Classes
    SimpleModule
  33. def setSerializerModifier(arg0: BeanSerializerModifier): SimpleModule

    Definition Classes
    SimpleModule
  34. def setSerializers(arg0: SimpleSerializers): Unit

    Definition Classes
    SimpleModule
  35. def setValueInstantiators(arg0: SimpleValueInstantiators): Unit

    Definition Classes
    SimpleModule
  36. def setupModule(context: SetupContext): Unit

    Definition Classes
    PlayJsonModule → SimpleModule → Module
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. def toString(): String

    Definition Classes
    AnyRef → Any
  39. def version(): Version

    Definition Classes
    SimpleModule → Module → Versioned
  40. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SimpleModule

Inherited from Serializable

Inherited from Module

Inherited from Versioned

Inherited from AnyRef

Inherited from Any

Ungrouped