play-json
play-json copied to clipboard
Customization for Jackson ObjectMapper
(Moved from playframework/playframework#6333)
Json.parse
and Json.stringify
currently don't allow any customization for how values are converted to and from JsValue
. In some cases one may want to do that. For example, one may want to pretty-print the JSON value in dev mode but not in production.
@gmethvin I wonder if we should move play.libs.Json
(Java API) from playframework/playframework to here. It offers a way to customize the application default ObjectMapper
and this can be used by JacksonJson
.
WDYT?