View Source Jsonpatch.Operation.Remove (Jsonpatch v1.0.2)
A JSON patch remove operation is responsible for removing values.
examples
Examples
iex> remove = %Jsonpatch.Operation.Remove{path: "/a/b"}
iex> target = %{"a" => %{"b" => %{"c" => "Bob"}}, "d" => false}
iex> Jsonpatch.Operation.apply_op(remove, target)
%{"a" => %{}, "d" => false}
Link to this section Summary
Link to this section Types
@type t() :: %Jsonpatch.Operation.Remove{path: String.t()}