Closed glassfishrobot closed 7 years ago
Reported by struberg
struberg said: Most probably JsonValue is even correct. If read through RFC-7396 again with Reinhard and we found the following sample data:
Unknown macro: {"a"}
"bar" "bar"
So this replaces a whole JsonObject with just the "bar" JsonValue.
Please close this ticket as illegal.
@m0mus said: It easily can be a JaonValue. I see that you realized it as well. Closing.
This issue was imported from java.net JIRA JSON_PROCESSING_SPEC-89
Marked as won't fix on Monday, February 27th 2017, 12:33:08 pm
Currently the Json method for creating a MergePatch takes a JsonValue. But I can hardly think of a JSON MergePatch which just consists of a single int, String etc. See http://tools.ietf.org/html/rfc7396
should imo be
As far as I interpret the JSON RFC it is not even possible to have a JSON-Array as patch
Is this interpretation correct?
If not we could go for a JsonStructure param.
Affected Versions
[1.0-pr]