zio.blocks.schema.json.JsonPatch.ArrayOp
See theArrayOp companion trait
object ArrayOp
Attributes
- Companion
- trait
- Source
- JsonPatch.scala
- Graph
-
- Supertypes
- Self type
-
ArrayOp.type
Members list
Type members
Classlikes
Appends elements to the end of the array.
Appends elements to the end of the array.
Value parameters
- values
-
The values to append
Attributes
- Source
- JsonPatch.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ArrayOpclass Objecttrait Matchableclass AnyShow all
Removes elements starting at the given index.
Removes elements starting at the given index.
Value parameters
- count
-
The number of elements to remove
- index
-
The starting position (0-based)
Attributes
- Source
- JsonPatch.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ArrayOpclass Objecttrait Matchableclass AnyShow all
Inserts elements at the given index.
Inserts elements at the given index.
Value parameters
- index
-
The position to insert at (0-based)
- values
-
The values to insert
Attributes
- Source
- JsonPatch.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ArrayOpclass Objecttrait Matchableclass AnyShow all
Applies an operation to the element at the given index.
Applies an operation to the element at the given index.
Value parameters
- index
-
The index of the element to modify (0-based)
- op
-
The operation to apply to the element
Attributes
- Source
- JsonPatch.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ArrayOpclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements.
The name of the type.
In this article