Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider implementing RFC 9535 #10

Open
glyn opened this issue Feb 23, 2024 · 4 comments
Open

Consider implementing RFC 9535 #10

glyn opened this issue Feb 23, 2024 · 4 comments

Comments

@glyn
Copy link

glyn commented Feb 23, 2024

IETF RFC 9535 defines a proposed standard for JSONPath. Other resources:

  • A partial Compliance Test Suite.
  • Behaviours of various implementations can be checked in the comparison project. Please note that the JSONPath Reference Implementation referenced in the comparison project is stalled/archived and incomplete.
  • At the time of writing, online sandboxes for RFC 9535 are available in C# and in Rust.
  • For more background and comments on the status of the CTS and RI, see this this post (also here in the IETF blog).
  • Public discussion occurs in the IETF JSONPath Working Group's mailing list (archive).

(See here for updates to this list of resources.)

Valid approaches for this project are to (a) implement the RFC in whole or in part, (b) document its behaviour relative to the RFC, and (c) do nothing.

@KittyMac
Copy link
Owner

Behaviours of various implementations can be checked in the comparison project. Please note that the JSONPath Reference Implementation referenced in the comparison project is stalled/archived and incomplete.

Is there a RFC 9535 compliant implementation on the comparison chart currently? That seems like a great place to start for project like this that are already on the chart to compare against.

@glyn
Copy link
Author

glyn commented Feb 23, 2024

Is there a RFC 9535 compliant implementation on the comparison chart currently? That seems like a great place to start for project like this that are already on the chart to compare against.

Excellent idea. I know of three implementations that implement the RFC:

  • JsonPath.Net is already there, although I don't know if it's up to date. (/cc @gregsdennis ?)
  • serde_json_path isn't there, but would be worth adding.
  • jpt also isn't there, and again would be worth adding.

I'll raise issues on the comparison project for the latter two. Shouldn't be too hard to add them.

@gregsdennis
Copy link

gregsdennis commented Feb 23, 2024

JsonPath.Net is already there, although I don't know if it's up to date.

The lib is up to date with the spec, but I don't know about the comparison report. I just promoted to v1.0.0 with the release of the spec.

@glyn
Copy link
Author

glyn commented Feb 23, 2024

JsonPath.Net is already there, although I don't know if it's up to date.

The lib is up to date with the spec, but I don't know about the comparison report. I just promoted to v1.0.0 with the release of the spec.

Thanks Greg, well done, and congratulations on v1.0.0! I'll log an issue in the comparison project to make sure it gets bumped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants