Package

gnieh.diffson

playJson

Permalink

package playJson

Linear Supertypes
DiffsonInstance[JsValue], JsonSupport[JsValue], JsonPointerSupport[JsValue], JsonPatchSupport[JsValue], JsonDiffSupport[JsValue], AnyRef, Any
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. playJson
  2. DiffsonInstance
  3. JsonSupport
  4. JsonPointerSupport
  5. JsonPatchSupport
  6. JsonDiffSupport
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Add(path: Pointer, value: JsValue) extends DiffsonInstance.Operation with Product with Serializable

    Permalink

    Add (or replace if existing) the pointed element

    Add (or replace if existing) the pointed element

    Definition Classes
    JsonPatchSupport
  2. case class Copy(from: Pointer, path: Pointer)(implicit pointer: DiffsonInstance.JsonPointer) extends DiffsonInstance.Operation with Product with Serializable

    Permalink

    Copy the pointed element to the new position

    Copy the pointed element to the new position

    Definition Classes
    JsonPatchSupport
  3. class JsonDiff extends AnyRef

    Permalink

    Methods to compute diffs between two Json values

    Methods to compute diffs between two Json values

    Definition Classes
    JsonDiffSupport
  4. case class JsonPatch(ops: List[DiffsonInstance.Operation]) extends Product with Serializable

    Permalink

    A Json patch object according to http://tools.ietf.org/html/rfc6902

    A Json patch object according to http://tools.ietf.org/html/rfc6902

    Definition Classes
    JsonPatchSupport
  5. class JsonPointer extends AnyRef

    Permalink

    A class to work with Json pointers according to http://tools.ietf.org/html/rfc6901.

    A class to work with Json pointers according to http://tools.ietf.org/html/rfc6901. The behavior in case of invalid pointer is customizable by passing an error handler when instantiating.

    Definition Classes
    JsonPointerSupport
  6. abstract class JsonProvider extends AnyRef

    Permalink

    The Json provider acts as an abstraction layer over the Json library.

    The Json provider acts as an abstraction layer over the Json library. It exposes all methods and types used by diffson when manipulating Json values directly.

    Definition Classes
    JsonSupport
  7. case class Move(from: Pointer, path: Pointer)(implicit pointer: DiffsonInstance.JsonPointer) extends DiffsonInstance.Operation with Product with Serializable

    Permalink

    Move the pointed element to the new position

    Move the pointed element to the new position

    Definition Classes
    JsonPatchSupport
  8. sealed abstract class Operation extends AnyRef

    Permalink

    A patch operation to apply to a Json value

    A patch operation to apply to a Json value

    Definition Classes
    JsonPatchSupport
  9. case class Remove(path: Pointer, old: Option[JsValue] = None) extends DiffsonInstance.Operation with Product with Serializable

    Permalink

    Remove the pointed element

    Remove the pointed element

    Definition Classes
    JsonPatchSupport
  10. case class Replace(path: Pointer, value: JsValue, old: Option[JsValue] = None) extends DiffsonInstance.Operation with Product with Serializable

    Permalink

    Replace the pointed element by the given value

    Replace the pointed element by the given value

    Definition Classes
    JsonPatchSupport
  11. case class Test(path: Pointer, value: JsValue)(implicit pointer: DiffsonInstance.JsonPointer) extends DiffsonInstance.Operation with Product with Serializable

    Permalink

    Test that the pointed element is equal to the given value

    Test that the pointed element is equal to the given value

    Definition Classes
    JsonPatchSupport
  12. class WithFilter extends AnyRef

    Permalink
    Definition Classes
    JsonPatchSupport

Abstract Value Members

  1. abstract val provider: DiffsonInstance.JsonProvider

    Permalink
    Definition Classes
    DiffsonInstance

Concrete Value Members

  1. object DiffsonProtocol

    Permalink
  2. object IntIndex

    Permalink
    Attributes
    protected[this]
    Definition Classes
    JsonPointerSupport
  3. object JsonDiff extends DiffsonInstance.JsonDiff

    Permalink

    Default JsonDiff instance that uses the patience algorithm to compute lcs for arrays

    Default JsonDiff instance that uses the patience algorithm to compute lcs for arrays

    Definition Classes
    JsonDiffSupport
  4. object JsonPatch extends Serializable

    Permalink

    JsonPatch companion object allowing to create JsonPatch objects from strings or operations.

    JsonPatch companion object allowing to create JsonPatch objects from strings or operations.

    Definition Classes
    JsonPatchSupport
  5. implicit val pointer: DiffsonInstance.JsonPointer

    Permalink
    Definition Classes
    JsonPointerSupport

Inherited from DiffsonInstance[JsValue]

Inherited from JsonSupport[JsValue]

Inherited from JsonPointerSupport[JsValue]

Inherited from JsonPatchSupport[JsValue]

Inherited from JsonDiffSupport[JsValue]

Inherited from AnyRef

Inherited from Any

Ungrouped