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

Add toJsObject method to Json #47

Merged
merged 2 commits into from Mar 3, 2017
Merged

Add toJsObject method to Json #47

merged 2 commits into from Mar 3, 2017

Conversation

guyonvarch
Copy link
Contributor

Pull Request Checklist

  • Have you read through the contributor guidelines?
  • Have you signed the Typesafe CLA?
  • Have you squashed your commits?
  • Have you added copyright headers to new files?
  • Have you checked that both Scala and Java APIs are updated?
  • Have you updated the documentation for both Scala and Java sections?
  • Have you added tests for any changed functionality?

Purpose

Convert values which type has OWrites typeclass to a JsObject with Json.toJsObject.

Use case

Convert a value to a JsObject and add a (key, value) pair to the generated JsObject.

@cchantep cchantep merged commit 2266606 into playframework:master Mar 3, 2017
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

Successfully merging this pull request may close these issues.

None yet

3 participants