mlcommons/croissant

Uniform jsonQuery and jsonPath

ccl-core opened this issue · 0 comments

In the croissant specs, we use two different terminology: jsonQuery for transforms (https://docs.mlcommons.org/croissant/docs/croissant-spec.html#transform) and jsonPath for extract (https://docs.mlcommons.org/croissant/docs/croissant-spec.html#extract).

The latter is defined here: https://goessner.net/articles/JsonPath/ . I don't know if the former defines a different query language.

It is not really clear what the difference between the two is, given that both can be used interchangeably (see e.g. a Transform operation using JsonPath here).

Possibly, renaming JsonQuery to JsonPath in the specs could avoid redundancy and make the definitions clearer.