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

feat(value): implement RFC6901 JSON Pointer #41

Merged
merged 1 commit into from
May 13, 2016
Merged

feat(value): implement RFC6901 JSON Pointer #41

merged 1 commit into from
May 13, 2016

Conversation

pyfisch
Copy link
Contributor

@pyfisch pyfisch commented Feb 27, 2016

Add a method pointer(&str) to Value. Deprecate lookup(&str).
Bump version to 0.7.1.

Closes #9

Notes:

  • It should be possible to add a pointer_mut(&str) method to Value. This would allow to add and modify values. (Maybe even a delete method) I failed to add such a method because of borrow checker.
  • Should RFC6902 JSON Patch be implemented or is this something for a separate crate? (Patch is based on Pointer)

Add a method `pointer(&str)` to `Value`. Deprecate `lookup(&str)`.
Bump version to 0.7.1.

Closes #9
@dtolnay
Copy link
Member

dtolnay commented Apr 25, 2016

@erickt or @pcwalton is one of you reviewing this?

@erickt
Copy link
Member

erickt commented May 12, 2016

This looks good to me! Thanks!

@erickt
Copy link
Member

erickt commented May 12, 2016

@homu: r+ 6fa1af0

homu added a commit that referenced this pull request May 12, 2016
feat(value): implement RFC6901 JSON Pointer

Add a method `pointer(&str)` to `Value`. Deprecate `lookup(&str)`.
Bump version to 0.7.1.

Closes #9

Notes:
* It should be possible to add a `pointer_mut(&str)` method to Value. This would allow to add and modify values. (Maybe even a delete method) I failed to add such a method because of borrow checker.
* Should [RFC6902 JSON Patch](https://tools.ietf.org/html/rfc6902) be implemented or is this something for a separate crate? (Patch is based on Pointer)
homu added a commit that referenced this pull request May 13, 2016
feat(value): implement RFC6901 JSON Pointer

Add a method `pointer(&str)` to `Value`. Deprecate `lookup(&str)`.
Bump version to 0.7.1.

Closes #9

Notes:
* It should be possible to add a `pointer_mut(&str)` method to Value. This would allow to add and modify values. (Maybe even a delete method) I failed to add such a method because of borrow checker.
* Should [RFC6902 JSON Patch](https://tools.ietf.org/html/rfc6902) be implemented or is this something for a separate crate? (Patch is based on Pointer)
This was referenced May 13, 2016
@homu homu merged commit 6fa1af0 into serde-rs:master May 13, 2016
@dtolnay dtolnay mentioned this pull request May 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants