ohler55 / ojg

Optimized JSON for Go
MIT License
857 stars 49 forks source link

Add jp.Expr.Locate() #153

Closed ohler55 closed 9 months ago

ohler55 commented 11 months ago

Add a function that given an JSONPath expression returns the normalized paths to all the matching elements.

xujianjun2000 commented 10 months ago

looking forword to this new function really~~~

ohler55 commented 10 months ago

The development branch is "jp-locate". Currently adding tests which will be followed by support for reflection.

xujianjun2000 commented 10 months ago

The development branch is "jp-locate". Currently adding tests which will be followed by support for reflection. Ohler, Bravo!!! Absolutely stunning! I'll update this when it is released

ohler55 commented 10 months ago

Release after fixing the unmarshal [4]int bug

xujianjun2000 commented 10 months ago

Release after fixing the unmarshal [4]int bug

Awesome!Which version would be released with it?

ohler55 commented 10 months ago

Release v1.21.0 on Dec 18th.

xujianjun2000 commented 9 months ago

Release v1.21.0 on Dec 18th.

Hello, Ohler, back again, the lastest release version is v1.19.4, can it use the tagged version v1.21.0 as a released version? It is also stable (tagged version)?

ohler55 commented 9 months ago

If it is tagged then it is stable or at least I believe it is stable.

xujianjun2000 commented 9 months ago

If it is tagged then it is stable or at least I believe it is stable.

Ok,thanks for reply, Ohler. You believe tag, I believe you, so I believe tag too! ^-^~