zio.blocks.schema.json.JsonPatch.StringOp
See theStringOp companion trait
object StringOp
Attributes
- Companion
- trait
- Source
- JsonPatch.scala
- Graph
-
- Supertypes
- Self type
-
StringOp.type
Members list
Type members
Classlikes
Appends text to the end of the string.
Appends text to the end of the string.
Value parameters
- text
-
The text to append
Attributes
- Source
- JsonPatch.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StringOpclass Objecttrait Matchableclass AnyShow all
Deletes characters starting at the given index.
Deletes characters starting at the given index.
Value parameters
- index
-
The starting position (0-based)
- length
-
The number of characters to delete
Attributes
- Source
- JsonPatch.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StringOpclass Objecttrait Matchableclass AnyShow all
Inserts text at the given index.
Inserts text at the given index.
Value parameters
- index
-
The position to insert at (0-based)
- text
-
The text to insert
Attributes
- Source
- JsonPatch.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StringOpclass Objecttrait Matchableclass AnyShow all
Replaces a substring with new text.
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
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait StringOpclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements.
The name of the type.
In this article