Package

play.api.libs.json

jackson

Permalink

package jackson

Visibility
  1. Public
  2. All

Type Members

  1. sealed class PlayJsonModule extends SimpleModule

    Permalink

    The Play JSON module for Jackson.

    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 jsonParseSettings = JsonParserSettings()
    val mapper = new ObjectMapper().registerModule(PlayJsonModule(jsonParseSettings))
    val jsValue = mapper.readValue("""{"foo":"bar"}""", classOf[JsValue])

Deprecated Value Members

  1. object PlayJsonModule extends PlayJsonModule

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.11) Use PlayJsonModule class instead

Ungrouped