jsonslice icon indicating copy to clipboard operation
jsonslice copied to clipboard

json slicer

Results 4 jsonslice issues
Sort by recently updated
recently updated
newest added

@cburgmer's JSONPath comparison project is currently discussing some [issues](https://github.com/cburgmer/json-path-comparison/issues?q=is%3Aissue+is%3Aopen+label%3A%22Proposal+A%22) relating to a proposed implementation of JSONPath known as "Proposal A". May I encourage you to get involved if you are...

``` json := `{ "arr": [ { "name": "jack", "create_time": "2020-01-01", "age": 10 }, { "name": "wow", "create_time": "2020-02-01", "age": 11 } ] }` jsonslice.Get([]byte(json), "$.arr[?(@.create_time > format("yyyy-mm-dd", 2019-12-30))].name") ```...

It seems the latest change breaks another query: - [ ] `$[*].bar[*].baz` Input: ``` [{"bar": [{"baz": "hello"}]}] ``` Expected output: ``` ["hello"] ``` Actual output: ``` [["hello"]] ``` If you...

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...

enhancement