Reputation: 4535
Are there any support for jsonapi.org JSON schema in Play Framework? If no, any good third party Java libraries which provides this support?
Upvotes: 3
Views: 269
Reputation: 125
You can have a look at:
https://github.com/zalando/scala-jsonapi
some example use cases:
Alternatively, you could try to do this yourself in a standard way tailored to your use case using your own case classes and Play JSON combinators (https://www.playframework.com/documentation/2.5.x/ScalaJsonCombinators) according to the JSON API spec - I don't think it would be too much overhead and you will get more compile-time checks.
Upvotes: 1