- All Superinterfaces:
- RawValue, Value
- 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 throws MessageTypeStringCodingException
if the value includes invalid byte sequence. toJson()
method replaces an invalid byte sequence with U+FFFD replacement character
.
- See Also:
RawValue