ltwlf / json-diff-ts

A diff tool for JavaScript written in TypeScript.
MIT License
81 stars 25 forks source link

JSONPath not valid #85

Closed Hoschi1982 closed 10 months ago

Hoschi1982 commented 1 year ago

Hy there,

the JSONPath is not generated correctly. The following JSONPath is shown in the example on the Github page "https://github.com/ltwl/json-diff-ts#readme":

"$.children[?( @.name='kid1')].age"

This JSONPath does not return a correct result. It must be "$.children[?( @.name=='kid1')].age" isn't it? Double '='

Is it possible to fix it soon?

Thanks

ltwlf commented 10 months ago

Fixed in #108