Open jeko2000 opened 4 years ago
This could potentially be idealized via a new, setf-able jso-pointer-get
method.
(zjson:jso-pointer-get "/foo")
;; => ("bar" "baz")
(setf (zjson:jso-pointer-get "/foo/0") "foo")
;; => "foo"
(zjson:jso-pointer-get "/foo")
;; => ("foo" "baz")
A JSON pointer, as described under RFC-6901, defines a string syntax that identifies a specific value within a JSON Object.
For instance, given the following JSON object:
then the following pointers evaluate to the consequent values: