Modify

zio.blocks.schema.json.JsonPatch.StringOp.Modify
final case class Modify(index: Int, length: Int, text: String) extends StringOp

Replaces a substring with new text.

Value parameters

index

The starting position (0-based)

length

The number of characters to replace

text

The replacement text

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala