PaesslerAG / jsonpath

BSD 3-Clause "New" or "Revised" License
172 stars 37 forks source link

Add `GetWithMaps` API for returning map of values with location #44

Closed whitlockjc closed 3 months ago

whitlockjc commented 4 months ago

This commit adds the GetWithMaps API that will instead of returning the resolved value(s), it will return a map whose keys are the JSONPath to the corresponding resolved value.

Fixes #43

whitlockjc commented 3 months ago

Hey @generikvault, any chance y'all find this useful and might consider merging?

whitlockjc commented 3 months ago

WOOHOO! Thanks a ton @generikvault.

whitlockjc commented 3 months ago

Hey @generikvault, would you be willing to create a tag with this change? No worries if not, just makes my life easier if you do. 😉