Jsonpatch v0.6.1 API Reference

Modules

A implementation of RFC 6902 in pure Elixir.

Cares of de- and encoding of json patches.

Forms structs in a flat format with paths instead of nested maps/structs.

Maps JSON patches between regular maps and Jsonpatch.Operations.

Defines behaviour for apply a patch to a struct.

The add operation is the operation for adding (as you might guess) values to a map or struct.

Represents the handling of JSON patches with a copy operation.

Move operations change the position of values in map or struct.

A JSON patch remove operation is responsible for removing values.

The replace module helps replacing values in maps and structs by paths.

A test operation in a JSON patch prevents the patch application or allows it.