json-path-comparison icon indicating copy to clipboard operation
json-path-comparison copied to clipboard

Other implementations WIP

Open cburgmer opened this issue 6 years ago • 7 comments

Just to keep track of what's already half way implemented, but not merged yet:

cburgmer avatar Sep 15 '19 10:09 cburgmer

I would disqualify Golang_github.com-yalp-jsonpath as its README states it is not suggested for production use.

cburgmer avatar Sep 30 '19 17:09 cburgmer

It would be a nice feature to ignore implementation while calculating consensus, but evaluate it's work later (maybe show results in a different table or mark it's colunn somehow)

remorhaz avatar Oct 01 '19 06:10 remorhaz

What you are implying though is that we can identify libraries not worthy contributing to the consensus though, right? I'm not sure how we could objectively define such a criteria.

cburgmer avatar Oct 01 '19 11:10 cburgmer

I agree.

remorhaz avatar Oct 02 '19 04:10 remorhaz

Might JSONata be added to the list? It looks to be quite robust and of interest for such comparisons...

brettz9 avatar Jan 12 '20 05:01 brettz9

I couldn't find good documentation on jsonata's query language - from a first limited glimpse there seems to be not much intentional overlap with JSONPath? If indeed they are fundamentally different, a comparison across the syntax deviations would be a much harder undertaking. I haven't looked into the SQL's standard of JSONPath yet much (see branch on Postgres), this sounds like a similar harder issue due to differences in the syntax.

cburgmer avatar Jan 12 '20 12:01 cburgmer

Yeah, sorry, I had just taken a mental note that it had a very robust API, but I had forgotten it is quite different. I think these pages give some idea of the basics: http://docs.jsonata.org/simple and http://docs.jsonata.org/predicate . Very interesting re: SQL implementing its own JSONPath...

brettz9 avatar Jan 12 '20 13:01 brettz9