Package org.apache.johnzon.core
Class JsonStringImpl
- java.lang.Object
-
- org.apache.johnzon.core.JsonStringImpl
-
- All Implemented Interfaces:
jakarta.json.JsonString
,jakarta.json.JsonValue
,Serializable
final class JsonStringImpl extends Object implements jakarta.json.JsonString, Serializable
-
-
Constructor Summary
Constructors Constructor Description JsonStringImpl(String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
CharSequence
getChars()
String
getString()
jakarta.json.JsonValue.ValueType
getValueType()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
JsonStringImpl
JsonStringImpl(String value)
-
-
Method Detail
-
getString
public String getString()
- Specified by:
getString
in interfacejakarta.json.JsonString
-
getChars
public CharSequence getChars()
- Specified by:
getChars
in interfacejakarta.json.JsonString
-
getValueType
public jakarta.json.JsonValue.ValueType getValueType()
- Specified by:
getValueType
in interfacejakarta.json.JsonValue
-
toString
public String toString()
-
hashCode
public int hashCode()
-
-