diffson.jsonpatch

Members list

Type members

Classlikes

case class Add[Json](path: Pointer, value: Json)(implicit evidence$2: Jsony[Json]) extends Operation[Json]

Add (or replace if existing) the pointed element

Add (or replace if existing) the pointed element

Attributes

Source
JsonPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Operation[Json]
class Object
trait Matchable
class Any
Show all
case class Copy[Json](from: Pointer, path: Pointer)(implicit evidence$6: Jsony[Json]) extends Operation[Json]

Copy the pointed element to the new position

Copy the pointed element to the new position

Attributes

Source
JsonPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Operation[Json]
class Object
trait Matchable
class Any
Show all
class JsonDiff[Json](diffArray: Boolean, rememberOld: Boolean)(implicit J: Jsony[Json], Lcs: Lcs[Json]) extends Diff[Json, JsonPatch[Json]]

Attributes

Source
JsonDiff.scala
Supertypes
trait Diff[Json, JsonPatch[Json]]
class Object
trait Matchable
class Any
case class JsonPatch[Json](ops: List[Operation[Json]])(implicit evidence$8: Jsony[Json])

Attributes

Companion
object
Source
JsonPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object JsonPatch

Attributes

Companion
class
Source
JsonPatch.scala
Supertypes
class Object
trait Matchable
class Any
Self type
JsonPatch.type
case class Move[Json](from: Pointer, path: Pointer)(implicit evidence$5: Jsony[Json]) extends Operation[Json]

Move the pointed element to the new position

Move the pointed element to the new position

Attributes

Source
JsonPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Operation[Json]
class Object
trait Matchable
class Any
Show all
sealed abstract class Operation[Json]

A patch operation to apply to a Json value

A patch operation to apply to a Json value

Attributes

Source
JsonPatch.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Add[Json]
class Copy[Json]
class Move[Json]
class Remove[Json]
class Replace[Json]
class Test[Json]
Show all
case class Remove[Json](path: Pointer, old: Option[Json])(implicit evidence$3: Jsony[Json]) extends Operation[Json]

Remove the pointed element

Remove the pointed element

Attributes

Source
JsonPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Operation[Json]
class Object
trait Matchable
class Any
Show all
case class Replace[Json](path: Pointer, value: Json, old: Option[Json])(implicit evidence$4: Jsony[Json]) extends Operation[Json]

Replace the pointed element by the given value

Replace the pointed element by the given value

Attributes

Source
JsonPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Operation[Json]
class Object
trait Matchable
class Any
Show all
case class Test[Json](path: Pointer, value: Json)(implicit evidence$7: Jsony[Json]) extends Operation[Json]

Test that the pointed element is equal to the given value

Test that the pointed element is equal to the given value

Attributes

Source
JsonPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Operation[Json]
class Object
trait Matchable
class Any
Show all
object lcsdiff

Attributes

Source
package.scala
Supertypes
class Object
trait Matchable
class Any
Self type
lcsdiff.type
object simplediff

Attributes

Source
package.scala
Supertypes
class Object
trait Matchable
class Any
Self type
simplediff.type