play-json icon indicating copy to clipboard operation
play-json copied to clipboard

Customization for Jackson ObjectMapper

Open gmethvin opened this issue 7 years ago • 1 comments

(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 avatar Dec 12 '16 22:12 gmethvin

@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?

marcospereira avatar Sep 28 '18 15:09 marcospereira