This module implements JSON Patch as per RFC 6902.
List Operation
A Patch
is a list of operations that are performed one after another.
An operation, as defined by RFC 6902, section 4.
apply : Patch -> Json.Decode.Value -> Result String Json.Decode.Value
Apply a Patch
to a Value
Operations are applied to the Value
in order, and if one operation fails,
the whole Patch
fails, and an error is returned instead.
encoder : Patch -> Json.Encode.Value
JSON encoder for Patch
decoder : Json.Decode.Decoder Patch
JSON decoder for Patch