play.api.libs.json

jackson

package jackson

Visibility
  1. Public
  2. All

Value Members

  1. object PlayJsonModule extends SimpleModule

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

Ungrouped