PrimitiveOp

zio.blocks.schema.json.JsonPatch.PrimitiveOp
See thePrimitiveOp companion trait
object PrimitiveOp

Attributes

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

Members list

Type members

Classlikes

final case class NumberDelta(delta: BigDecimal) extends PrimitiveOp

Adds a delta to a numeric value.

Adds a delta to a numeric value.

Value parameters

delta

The amount to add (can be negative for subtraction)

Attributes

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

Applies string edit operations to a string value.

Applies string edit operations to a string value.

Value parameters

ops

The string operations to apply in sequence

Attributes

Source
JsonPatch.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait PrimitiveOp
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