jsonpath
jsonpath copied to clipboard
golang jsonpath library. follow the majority rules in this article http://goessner.net/articles/JsonPath/
updated project to use modules fixed quotation errors added additional tests
IETF [RFC 9535](https://www.rfc-editor.org/rfc/rfc9535) defines a proposed standard for JSONPath. Other resources: * A partial [Compliance Test Suite](https://github.com/jsonpath-standard/jsonpath-compliance-test-suite). * Behaviours of various implementations can be checked in the [comparison project](https://cburgmer.github.io/json-path-comparison/). Please...
Expressions like `$.a[*].b` over inputs like `{"a": {"foo": {"b": 1}}}` return an error `object is not Slice` when evaluating. Other implementations can handle these expressions, treating them as wildcards over...
how to change value base jsonPath?
`$.store.book[?(@.price < $.expensive)].price` is returning `[8.95,12.99,8.99,22.99]` for me
want this lib to support syntax `.length()` in json path, just like that in the major java repo https://github.com/json-path/JsonPath. need your help
How to set the jsonpath, when the key contains dot? { "properties": { "footer.navigationLinks": { "group": "layout" , "default": [ { "text": "Link a" , "href": "#" } ] }...
修复panic:当obj有值时为数组,无值时为nil时,通过数组方式提取会触发panic 例: ans = { "a": nil } 通过a[0,1]或者a[*]提取时,会触发panic
Prior to this fix, there was a panic when a JSON path with an invalid filter expression that did not specify "valid parentheses syntax" was specified. A normal error should...
I can see several unanswered issues and open pull requests. Is this library still maintained?