joshbuddy/jsonpath

Jsonpath with $ keyname not working

jeevamanivel opened this issue · 4 comments

We have a JSON that has $ as keyname. ex. {"test":{"$":"success"}}
When we try JsonPath.on(jsonobj, "$.test.$") - This returns empty array, it should have returned "success".
Is there a way to handle this scenario?

JsonPath.fetch_all_path(data) returns this JsonPath also - "$.test.$", but its not able to extract value of this JsonPath

tisba commented

This was fixed in #157

This was fixed in #157

Thanks! this is working now!

tisba commented

Great! Maybe you want to close the issue then, @jeevamanivel?

Its working now, hence closing the issue