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

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

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

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

gmethvin opened this issue Dec 12, 2016 · 0 comments

Comments

@gmethvin
Copy link
Member

@gmethvin 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 [doc] describe how to read optional fields / objects with Json Transformers Describe how to read optional fields / objects with Json Transformers Jan 24, 2017
@dwijnand dwijnand added the backlog label Feb 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.