Skip to content

Helper functions and unofficial extensions for working with json patch in Rust

License

Notifications You must be signed in to change notification settings

acrlabs/json_patch_ext

Repository files navigation

json-patch-ext

Unofficial extensions and helper functions for the json-patch crate.

Features

  • Support for the * operator when adding/replacing/removing elements: applies the operation to all elements in the array at that location in the path
  • Some nice utility functions for constructing patches
  • Automatically create parent references in an add operation: e.g., if your path is /foo/bar/baz, and your JSON object looks like {"foo": {}}, the result of the add operation will be {"foo": {"bar": {"baz": <value>}}}.

About

Helper functions and unofficial extensions for working with json patch in Rust

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages