zio.blocks.schema.json.JsonPatch.PrimitiveOp
See thePrimitiveOp companion trait
object PrimitiveOp
Attributes
- Companion
- trait
- Source
- JsonPatch.scala
- Graph
-
- Supertypes
- Self type
-
PrimitiveOp.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 Serializabletrait Producttrait Equalstrait PrimitiveOpclass Objecttrait Matchableclass AnyShow 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 Serializabletrait Producttrait Equalstrait PrimitiveOpclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements.
The name of the type.
In this article