-
Notifications
You must be signed in to change notification settings - Fork 0
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
Missing a JSON-B to JSON processing bridge, or missing support for JSON PATCH #67
Comments
@bravehorsie Commented |
@steappe Commented For instance why not adding in the API of JSON-B: (that's more or less what JSON-B adapters can do). |
@bravehorsie Commented
Behind the scene JSON-B can use any type it has dependency to.
What official bridge exactly? I don't think bridging all JSONP api would be of much help.
Suggestion 1: Suggestion 2: |
|
I've posted the complete use case to SO:
https://stackoverflow.com/questions/48194222/missing-bridge-between-json-b-and-json-apis
In short:
In order to implement HTTP PATCH restful method, I'm using JSON processing to apply a JSON PATCH to a DTO annotated with JSON-B. The problem is quite simple: JSON-B converts an object from / to a JSON representation which is serialized / deserialized in a String, resulting in the following strategy to apply a patch:
A bridge between both libraries would be great, or if such dependencies are not desired, implementing JSON patch + bean validation to JSON-B would be great.
The text was updated successfully, but these errors were encountered: