Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customization for Jackson ObjectMapper #9

Open
gmethvin opened this issue Dec 12, 2016 · 1 comment
Open

Customization for Jackson ObjectMapper #9

gmethvin opened this issue Dec 12, 2016 · 1 comment

Comments

@gmethvin
Copy link
Member

gmethvin commented Dec 12, 2016

(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.

@marcospereira
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants