Packages

c

gnieh.diffson

DiffsonInstance

abstract class DiffsonInstance[JsValue] extends JsonDiffSupport[JsValue] with JsonPatchSupport[JsValue] with JsonPointerSupport[JsValue] with JsonSupport[JsValue]

Linear Supertypes
JsonSupport[JsValue], JsonPointerSupport[JsValue], JsonPatchSupport[JsValue], JsonDiffSupport[JsValue], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DiffsonInstance
  2. JsonSupport
  3. JsonPointerSupport
  4. JsonPatchSupport
  5. JsonDiffSupport
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DiffsonInstance()

Type Members

  1. class JsonDiff extends AnyRef

    Methods to compute diffs between two Json values

    Methods to compute diffs between two Json values

    Definition Classes
    JsonDiffSupport
  2. case class Add (path: Pointer, value: JsValue) extends DiffsonInstance.Operation with Product with Serializable

    Add (or replace if existing) the pointed element

    Add (or replace if existing) the pointed element

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

    Copy the pointed element to the new position

    Copy the pointed element to the new position

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

    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. case class Move (from: Pointer, path: Pointer)(implicit pointer: DiffsonInstance.JsonPointer) extends DiffsonInstance.Operation with Product with Serializable

    Move the pointed element to the new position

    Move the pointed element to the new position

    Definition Classes
    JsonPatchSupport
  6. sealed abstract class Operation extends AnyRef

    A patch operation to apply to a Json value

    A patch operation to apply to a Json value

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

    Remove the pointed element

    Remove the pointed element

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

    Replace the pointed element by the given value

    Replace the pointed element by the given value

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

    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
  10. class WithFilter extends AnyRef
    Definition Classes
    JsonPatchSupport
  11. class JsonPointer extends AnyRef

    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
  12. abstract class JsonProvider extends AnyRef

    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

Abstract Value Members

  1. abstract val provider: JsonProvider

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from DiffsonInstance[JsValue] to any2stringadd[DiffsonInstance[JsValue]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DiffsonInstance[JsValue], B)
    Implicit
    This member is added by an implicit conversion from DiffsonInstance[JsValue] to ArrowAssoc[DiffsonInstance[JsValue]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def ensuring(cond: (DiffsonInstance[JsValue]) ⇒ Boolean, msg: ⇒ Any): DiffsonInstance[JsValue]
    Implicit
    This member is added by an implicit conversion from DiffsonInstance[JsValue] to Ensuring[DiffsonInstance[JsValue]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (DiffsonInstance[JsValue]) ⇒ Boolean): DiffsonInstance[JsValue]
    Implicit
    This member is added by an implicit conversion from DiffsonInstance[JsValue] to Ensuring[DiffsonInstance[JsValue]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: ⇒ Any): DiffsonInstance[JsValue]
    Implicit
    This member is added by an implicit conversion from DiffsonInstance[JsValue] to Ensuring[DiffsonInstance[JsValue]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): DiffsonInstance[JsValue]
    Implicit
    This member is added by an implicit conversion from DiffsonInstance[JsValue] to Ensuring[DiffsonInstance[JsValue]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from DiffsonInstance[JsValue] to StringFormat[DiffsonInstance[JsValue]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  22. implicit val pointer: JsonPointer
    Definition Classes
    JsonPointerSupport
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. def [B](y: B): (DiffsonInstance[JsValue], B)
    Implicit
    This member is added by an implicit conversion from DiffsonInstance[JsValue] to ArrowAssoc[DiffsonInstance[JsValue]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
  29. object JsonDiff extends DiffsonInstance.JsonDiff

    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
  30. object JsonPatch extends Serializable

    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
  31. object IntIndex
    Attributes
    protected[this]
    Definition Classes
    JsonPointerSupport

Inherited from JsonSupport[JsValue]

Inherited from JsonPointerSupport[JsValue]

Inherited from JsonPatchSupport[JsValue]

Inherited from JsonDiffSupport[JsValue]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from DiffsonInstance[JsValue] to any2stringadd[DiffsonInstance[JsValue]]

Inherited by implicit conversion StringFormat from DiffsonInstance[JsValue] to StringFormat[DiffsonInstance[JsValue]]

Inherited by implicit conversion Ensuring from DiffsonInstance[JsValue] to Ensuring[DiffsonInstance[JsValue]]

Inherited by implicit conversion ArrowAssoc from DiffsonInstance[JsValue] to ArrowAssoc[DiffsonInstance[JsValue]]

Ungrouped