Package

com.twitter.finatra.http

jsonpatch

Permalink

package jsonpatch

Visibility
  1. Public
  2. All

Type Members

  1. case class JsonPatch(patches: Seq[PatchOperation]) extends Product with Serializable

    Permalink

    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

    See also

    RFC 6902

    application/json-patch+json

  2. class JsonPatchException extends Exception

    Permalink

    Exception for handling Json Patch errors.

  3. class JsonPatchExceptionMapper extends ExceptionMapper[JsonPatchException]

    Permalink
    Annotations
    @Singleton()
  4. class JsonPatchMessageBodyReader extends MessageBodyReader[JsonPatch]

    Permalink

    Transform HTTP Request to JsonPatch

  5. class JsonPatchOperator extends AnyRef

    Permalink

    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()
  6. final class Operand extends Enum[Operand]

    Permalink
  7. case class PatchOperation(op: Operand, path: JsonPointer, value: Option[JsonNode], from: Option[JsonPointer]) extends Product with Serializable

    Permalink

    Operations compose JSON Patch, apply to a target JSON document

    Operations compose JSON Patch, apply to a target JSON document

    See also

    RFC 6902

Value Members

  1. object JsonPatchUtility

    Permalink

    Apply each JSON Patch operation to target JSON document

Ungrouped