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
All examples for this library are around vectors. Not a single example shows how to fetch just a specific value from json using jsonpath. If select returns vector everytime, how would program know if returned value was actually an json array or json value?
Also there is incosistency in the results returned by select and select_as_str
I have below json. For json path $.args.foo1, select_as_str() returns "[\"bar1\"]" which is ofcourse wrong and select() doesn't return anything!! but empty array
{
"args": {
"foo1": "bar1",
"foo2": "bar2"
}
}
The text was updated successfully, but these errors were encountered:
All examples for this library are around vectors. Not a single example shows how to fetch just a specific value from json using jsonpath. If
select
returns vector everytime, how would program know if returned value was actually anjson array
orjson value
?Also there is incosistency in the results returned by
select
andselect_as_str
I have below json. For json path
$.args.foo1
,select_as_str()
returns"[\"bar1\"]"
which is ofcourse wrong andselect()
doesn't return anything!! but empty arrayThe text was updated successfully, but these errors were encountered: