Class

gnieh.diffson

DiffsonInstance

Related Doc: package diffson

Permalink

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()

    Permalink

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: JsonProvider

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    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)

    Permalink
    Implicit information
    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

    Permalink
    Definition Classes
    AnyRef → Any
  6. object IntIndex

    Permalink
    Attributes
    protected[this]
    Definition Classes
    JsonPointerSupport
  7. 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
  8. 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
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def ensuring(cond: (DiffsonInstance[JsValue]) ⇒ Boolean, msg: ⇒ Any): DiffsonInstance[JsValue]

    Permalink
    Implicit information
    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. def ensuring(cond: (DiffsonInstance[JsValue]) ⇒ Boolean): DiffsonInstance[JsValue]

    Permalink
    Implicit information
    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
  13. def ensuring(cond: Boolean, msg: ⇒ Any): DiffsonInstance[JsValue]

    Permalink
    Implicit information
    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
  14. def ensuring(cond: Boolean): DiffsonInstance[JsValue]

    Permalink
    Implicit information
    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
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    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()
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. implicit val pointer: JsonPointer

    Permalink
    Definition Classes
    JsonPointerSupport
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def [B](y: B): (DiffsonInstance[JsValue], B)

    Permalink
    Implicit information
    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

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