Op

zio.blocks.schema.json.JsonPatch.Op
See theOp companion trait
object Op

Attributes

Companion
trait
Source
JsonPatch.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Op.type

Members list

Type members

Classlikes

final case class ArrayEdit(ops: Chunk[ArrayOp]) extends Op

Applies array edit operations. Used for inserting, appending, deleting, or modifying array elements.

Applies array edit operations. Used for inserting, appending, deleting, or modifying array elements.

Value parameters

ops

The array operations to apply in sequence

Attributes

Source
JsonPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Op
class Object
trait Matchable
class Any
Show all
final case class Nested(patch: JsonPatch) extends Op

Groups operations that share a common path prefix.

Groups operations that share a common path prefix.

Value parameters

patch

The nested patch to apply

Attributes

Source
JsonPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Op
class Object
trait Matchable
class Any
Show all
final case class ObjectEdit(ops: Chunk[ObjectOp]) extends Op

Applies object edit operations. Used for adding, removing, or modifying object fields.

Applies object edit operations. Used for adding, removing, or modifying object fields.

Value parameters

ops

The object operations to apply in sequence

Attributes

Source
JsonPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Op
class Object
trait Matchable
class Any
Show all
final case class PrimitiveDelta(op: PrimitiveOp) extends Op

Applies a primitive delta operation. Used for numeric increments or string edits.

Applies a primitive delta operation. Used for numeric increments or string edits.

Value parameters

op

The primitive operation to apply

Attributes

Source
JsonPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Op
class Object
trait Matchable
class Any
Show all
final case class Set(value: Json) extends Op

Replaces the target value entirely.

Replaces the target value entirely.

Value parameters

value

The new JSON value to set

Attributes

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

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala