fdncred / nu_plugin_json_path

A nushell plugin for parsing json that uses the json path specification.
MIT License
14 stars 1 forks source link

Update `serde_json_path` to 0.6.0 #2

Closed hiltontj closed 1 year ago

hiltontj commented 1 year ago

Hey there, just thought I would drop an issue to update the version of serde_json_path to 0.6.0. Several fixes/improvements have gone in since the version currently used by this crate (0.3.1).

Notably,

Check out the change log in case you are interested.

fdncred commented 1 year ago

Thanks for the tip. I'll update this soon to support the latest version.

fdncred commented 1 year ago

I didn't realize this would be a major change and not a drop-in-replacement. Seems like things have changed significantly.

hiltontj commented 1 year ago

Yes there were several breaking changes in the API to move towards using the JsonPath type. If you'd like I can submit a PR.

fdncred commented 1 year ago

Yes there were several breaking changes in the API to move towards using the JsonPath type. If you'd like I can submit a PR.

I think I have it sorted but if you have time to take a look to ensure it's correct, that would be appreciated.

hiltontj commented 1 year ago

Yes there were several breaking changes in the API to move towards using the JsonPath type. If you'd like I can submit a PR.

I think I have it sorted but if you have time to take a look to ensure it's correct, that would be appreciated.

It looks good!