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

Describe how to read optional fields / objects with Json Transformers #12

Open
gmethvin opened this Issue Dec 12, 2016 · 0 comments

Comments

Projects
None yet
3 participants
@gmethvin
Member

gmethvin commented Dec 12, 2016

(Moved from playframework/playframework#6756)

Actually reading optional fields / objects with Json Transformers is possible, but it is currently missing in our documentation, so we should add something like that to our docs: http://stackoverflow.com/a/15998881/2250209

Actually the important part is: .orElse(__.json.pick[JsObject])

@cchantep cchantep changed the title from [doc] describe how to read optional fields / objects with Json Transformers to Describe how to read optional fields / objects with Json Transformers Jan 24, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment