-
- All Implemented Interfaces:
-
io.kjson.JSONPrimitive,io.kjson.JSONValue,kotlin.CharSequence
public final class JSONString implements JSONPrimitive<String>, CharSequence
A JSON string value.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classJSONString.Companion
-
Constructor Summary
Constructors Constructor Description JSONString(String value)
-
Method Summary
Modifier and Type Method Description IntegergetLength()StringgetValue()Characterget(Integer index)JSONStringsubSequence(Integer startIndex, Integer endIndex)UnitappendTo(Appendable a)Unitoutput(IntConsumer out)UnitcoOutput(SuspendFunction1<Character, Unit> out)Booleanequals(Object other)IntegerhashCode()StringtoString()-
-
Method Detail
-
getLength
Integer getLength()
-
getValue
String getValue()
-
get
Character get(Integer index)
-
subSequence
JSONString subSequence(Integer startIndex, Integer endIndex)
-
coOutput
Unit coOutput(SuspendFunction1<Character, Unit> out)
-
equals
Boolean equals(Object other)
-
hashCode
Integer hashCode()
-
toString
String toString()
-
-
-
-