jsonptr
jsonptr copied to clipboard
JSON Pointer (RFC 6901) implementation for Rust
I changed my mind on removing serde as a default feature. It _is_ a heavy dependency to bring by default, but it's easy enough to disable the default features, and...
The `EncodingError` and `ParseIndexError` types are parsing errors with a well defined 'subject', but they weren't previously made into `Diagnostic` implementors, so they worked a bit inconsistently with other error...
Solves #88 - Deprecates `Pointer::split_at` - Adds `Pointer::split_at_offset`
Non-breaking change. Accept owned or borrowed strings as input in `Token::from_encoded`.
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5. Release notes Sourced from codecov/codecov-action's releases. v5.0.0 v5 Release v5 of the Codecov GitHub Action will use the Codecov Wrapper to encapsulate the CLI....
Draft a release for `0.7` Edit: 0.7, not 8
We need to deprecate `Pointer::split_at` so that it can eventually be replaced by a method of the same name that utilizes position/index rather than offset.
Currently this: ```rust let ptr = jsonptr::Pointer::from_static("/example"); let path = std::path::Path::new("/example"); ``` is displayed as:
@asmello While debugging something unrelated, I ran into this after a call to `Pointer::as_str`. This pointer should have been root/default. This is using vs code. I assume the debugger is...