Object

play.api.libs.json.jackson

PlayJsonModule

Related Doc: package jackson

Permalink

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
Visibility
  1. Public
  2. All

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def _checkNotNull(arg0: Any, arg1: String): Unit

    Permalink
    Attributes
    protected[com.fasterxml.jackson.databind.module]
    Definition Classes
    SimpleModule
  5. def addAbstractTypeMapping[T](arg0: Class[T], arg1: Class[_ <: T]): SimpleModule

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

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

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

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

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

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

    Permalink
    Definition Classes
    SimpleModule
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. def registerSubtypes(arg0: Collection[Class[_]]): SimpleModule

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

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

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

    Permalink
    Definition Classes
    SimpleModule
  29. def setDeserializerModifier(arg0: BeanDeserializerModifier): SimpleModule

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

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

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

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

    Permalink
    Definition Classes
    SimpleModule
  34. def setNamingStrategy(arg0: PropertyNamingStrategy): SimpleModule

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  40. def toString(): String

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SimpleModule

Inherited from Serializable

Inherited from Module

Inherited from Versioned

Inherited from AnyRef

Inherited from Any

Ungrouped