json-path-comparison
json-path-comparison copied to clipboard
Comparison of the different implementations of JSONPath and language agnostic test suite.
Currently result lists that are sorted before comparison are flagged with footnote 4 on the main comparison page, see e.g. https://cburgmer.github.io/json-path-comparison/#union_with_keys_after_recursive_descent. There is however no indication that this is the...
Looks like SQL has a quasi? standard for something similar to JSONPath. Is it similar enough that we should care? - https://docs.oracle.com/en/database/oracle/oracle-database/12.2/adjsn/json-path-expressions.html#GUID-2DC05D71-3D62-4A14-855F-76E054032494 - https://docs.microsoft.com/en-us/sql/relational-databases/json/json-path-expressions-sql-server?view=sql-server-ver15 - https://www.postgresql.org/docs/12/functions-json.html
No clear consensus, and definitely an important difference to track I feel
Currently, consensus is indicated with a simple ✔️. This is misleading when the consensus isn't "returns expected results." For example, Consensus for `$[?(@.d in [2, 3])]` is that the syntax...
I found while answering a [StackOverflow question](https://stackoverflow.com/q/68516622/878701) that there aren't any tests checking for root reference in filter expressions: ``` $.SomeFieldB[?($.SomeFieldA == 'X')].SomeFieldC ``` for the JSON value ```json {...
[Goessner's original post](https://goessner.net/articles/JsonPath/) declares that the return type (array form) could either be the found items or the JSON Paths to those items. Is there any intent to check for...
The table is growing larger and becomes difficult to evaluate with an eye. One of the solutions may be tagging each query with _features_, For example, query `$["key"]` can be...
Should the implementations be scored for a quick glance summary? It could be as simple as making the score the sum of the results of each test. Something like: ✓...
Analysis
There's a great deal of data in the JSONPath comparisons, but each query represents an isolated data point, and some cannot be understood except in combination with other queries. For...