Package org.msgpack.value
Interface StringValue
-
- All Known Subinterfaces:
ImmutableStringValue
- All Known Implementing Classes:
ImmutableStringValueImpl
public interface StringValue extends RawValue
Representation of MessagePack's String type. MessagePack's String type can represent a UTF-8 string at most 264-1 bytes. Note that the value could include invalid byte sequences.asString()
method throwsMessageTypeStringCodingException
if the value includes invalid byte sequence.toJson()
method replaces an invalid byte sequence withU+FFFD replacement character
.- See Also:
RawValue
-
-
Method Summary
-
Methods inherited from interface org.msgpack.value.RawValue
asByteArray, asByteBuffer, asString, toString
-
Methods inherited from interface org.msgpack.value.Value
asArrayValue, asBinaryValue, asBooleanValue, asExtensionValue, asFloatValue, asIntegerValue, asMapValue, asNilValue, asNumberValue, asRawValue, asStringValue, equals, getValueType, immutableValue, isArrayValue, isBinaryValue, isBooleanValue, isExtensionValue, isFloatValue, isIntegerValue, isMapValue, isNilValue, isNumberValue, isRawValue, isStringValue, toJson, writeTo
-
-