You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JSON Pointer specification allows to retrieve the root value of a JSON document using the pointer #/. I was unable to figure out how to do that with GJSON paths. Is this currently possible?
I've tried several approaches but was unable to get the root element (I know that this is jj and not gjson but since one uses the other I assume that the inputs would return the same output for gjson too):
This modifier returns the current element as-is and can be used
to retrieve the JSON document itself. It is equivalent to the `#/` JSON Pointer.
Closestidwall#149
This modifier returns the current element as-is and can be used
to retrieve the JSON document itself. It is equivalent to the `#/` JSON Pointer.
Closestidwall#149
The JSON Pointer specification allows to retrieve the root value of a JSON document using the pointer
#/
. I was unable to figure out how to do that with GJSON paths. Is this currently possible?I've tried several approaches but was unable to get the root element (I know that this is
jj
and notgjson
but since one uses the other I assume that the inputs would return the same output for gjson too):I was unable to figure this out using the docs, but maybe I missed it.
The text was updated successfully, but these errors were encountered: