diffson.jsonpatch

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

Source:
JsonPatch.scala
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

Source:
JsonPatch.scala
class JsonDiff[Json](diffArray: Boolean, rememberOld: Boolean)(implicit J: Jsony[Json], Lcs: Lcs[Json]) extends Diff[Json, JsonPatch[Json]]
case class JsonPatch[Json](ops: List[Operation[Json]])(implicit evidence$8: Jsony[Json])
Companion:
object
Source:
JsonPatch.scala
object JsonPatch
Companion:
class
Source:
JsonPatch.scala
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

Source:
JsonPatch.scala
sealed abstract class Operation[Json]

A patch operation to apply to a Json value

A patch operation to apply to a Json value

Source:
JsonPatch.scala
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

Source:
JsonPatch.scala
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

Source:
JsonPatch.scala
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

Source:
JsonPatch.scala
object lcsdiff