expatch v0.1.0 Expatch

An Elixir implementation of JSON Patch

Summary

Functions

Apply operations on target

Functions

apply(target, operations)

Apply operations on target.

Examples

iex> Expatch.apply(%{"foo" => "bar"}, [%{op: "add", path: "/baz", value: "qux"}])
{:ok, %{"foo" => "bar", "baz" => "qux"}}