package jsonpatch
- Alphabetic
- Public
- Protected
Type Members
- case class JsonPatch(patches: Seq[PatchOperation]) extends Product with Serializable
JsonPatch represents a sequence of operations to apply to a JSON document.
JsonPatch represents a sequence of operations to apply to a JSON document. The corresponding HTTP request should use application/json-patch+json as the Content-Type.
- patches
a Seq of Json Patch Operations
- class JsonPatchException extends Exception
Exception for handling Json Patch errors.
- class JsonPatchExceptionMapper extends ExceptionMapper[JsonPatchException]
- Annotations
- @Singleton()
- class JsonPatchMessageBodyReader extends MessageBodyReader[JsonPatch]
Transform an HTTP Message to JsonPatch
- class JsonPatchOperator extends AnyRef
A utility class for operating on a case class by converting it to a JsonNode.
A utility class for operating on a case class by converting it to a JsonNode. Note: users can always implement their own JsonPatchOperator on demand
- Annotations
- @Singleton()
- sealed abstract final class Operand extends Enum[Operand]
- case class PatchOperation(op: Operand, path: JsonPointer, value: Option[JsonNode], from: Option[JsonPointer]) extends Product with Serializable
Operations compose JSON Patch, apply to a target JSON document
Operations compose JSON Patch, apply to a target JSON document
- See also
Value Members
- object JsonPatchUtility
Apply each JSON Patch operation to target JSON document