json-patch-ext

Crates.iojson-patch-ext
lib.rsjson-patch-ext
version0.1.0
sourcesrc
created_at2024-11-08 18:26:59.603042
updated_at2024-11-08 18:26:59.603042
descriptionUnofficial extensions and helpers for json_patch
homepage
repository
max_upload_size
id1441422
size19,191
David (drmorr0)

documentation

README

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>}}}.
Commit count: 0

cargo fmt