An Elixir implementation of JSON Patch
Apply operations on target
operations
target
Apply operations on target.
iex> Expatch.apply(%{"foo" => "bar"}, [%{op: "add", path: "/baz", value: "qux"}]) {:ok, %{"foo" => "bar", "baz" => "qux"}}