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 addAbstractTypeMapping[T](arg0: Class[T], arg1: Class[_ <: T]): SimpleModule

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. 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