32 ms·
Query by content reminds me of XPath, so I looked it up to see if there was a version for JSON... Turns out there is https://www.ietf.org/archive/id/draft-goes
by jabbany 2y ago
Query by content reminds me of XPath, so I looked it up to see if there was a version for JSON...
Turns out there is https://www.ietf.org/archive/id/draft-goessner-dispatch-jsonpath-00.html https://www.ietf.org/archive/id/draft-goessner-dispatch-json...
- numbsafari 2y agoYeah, one option is to use a different content-type for your json-patch values and basically extend JSON Patch[1] to use JSON Path[2] instead of JSON Pointer[3]. [1] https://www.rfc-editor.org/info/rfc6902 https://www.rfc-editor.org/info/rfc6902 [2] https://www.rfc-editor.org/info/rfc9535 https://www.rfc-editor.org/info/rfc9535 [3] https://www.rfc-editor.org/info/rfc6901 https://www.rfc-editor.org/info/rfc6901