Package ru.tinkoff.kora.json.common
Class RawJson
java.lang.Object
ru.tinkoff.kora.json.common.RawJson
- All Implemented Interfaces:
com.fasterxml.jackson.core.SerializableString
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintappendQuoted(char[] buffer, int offset) intappendQuotedUTF8(byte[] buffer, int offset) intappendUnquoted(char[] buffer, int offset) intappendUnquotedUTF8(byte[] buffer, int offset) char[]byte[]byte[]intgetValue()intputQuotedUTF8(ByteBuffer buffer) intputUnquotedUTF8(ByteBuffer buffer) byte[]value()intint
-
Field Details
-
value
public final byte[] value
-
-
Constructor Details
-
RawJson
-
RawJson
public RawJson(@Nonnull byte[] value)
-
-
Method Details
-
value
public byte[] value() -
getValue
- Specified by:
getValuein interfacecom.fasterxml.jackson.core.SerializableString
-
charLength
public int charLength()- Specified by:
charLengthin interfacecom.fasterxml.jackson.core.SerializableString
-
asQuotedChars
public char[] asQuotedChars()- Specified by:
asQuotedCharsin interfacecom.fasterxml.jackson.core.SerializableString
-
asUnquotedUTF8
public byte[] asUnquotedUTF8()- Specified by:
asUnquotedUTF8in interfacecom.fasterxml.jackson.core.SerializableString
-
asQuotedUTF8
public byte[] asQuotedUTF8()- Specified by:
asQuotedUTF8in interfacecom.fasterxml.jackson.core.SerializableString
-
appendQuotedUTF8
public int appendQuotedUTF8(byte[] buffer, int offset) - Specified by:
appendQuotedUTF8in interfacecom.fasterxml.jackson.core.SerializableString
-
appendQuoted
public int appendQuoted(char[] buffer, int offset) - Specified by:
appendQuotedin interfacecom.fasterxml.jackson.core.SerializableString
-
appendUnquotedUTF8
public int appendUnquotedUTF8(byte[] buffer, int offset) - Specified by:
appendUnquotedUTF8in interfacecom.fasterxml.jackson.core.SerializableString
-
appendUnquoted
public int appendUnquoted(char[] buffer, int offset) - Specified by:
appendUnquotedin interfacecom.fasterxml.jackson.core.SerializableString
-
writeQuotedUTF8
- Specified by:
writeQuotedUTF8in interfacecom.fasterxml.jackson.core.SerializableString- Throws:
IOException
-
writeUnquotedUTF8
- Specified by:
writeUnquotedUTF8in interfacecom.fasterxml.jackson.core.SerializableString- Throws:
IOException
-
putQuotedUTF8
- Specified by:
putQuotedUTF8in interfacecom.fasterxml.jackson.core.SerializableString- Throws:
IOException
-
putUnquotedUTF8
- Specified by:
putUnquotedUTF8in interfacecom.fasterxml.jackson.core.SerializableString- Throws:
IOException
-