Package ru.tinkoff.kora.json.common
Class RawJsonWriter
java.lang.Object
ru.tinkoff.kora.json.common.RawJsonWriter
- All Implemented Interfaces:
JsonWriter<RawJson>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ru.tinkoff.kora.json.common.JsonWriter
toByteArrayUnchecked, toString, toStringUnchecked
-
Constructor Details
-
RawJsonWriter
public RawJsonWriter()
-
-
Method Details
-
write
public void write(com.fasterxml.jackson.core.JsonGenerator gen, @Nullable RawJson object) throws IOException - Specified by:
writein interfaceJsonWriter<RawJson>- Parameters:
gen- jackson generator that will be used for writing object to JSONobject- to serialize into JSON- Throws:
IOException- in case of serialization errors
-
toByteArray
- Specified by:
toByteArrayin interfaceJsonWriter<RawJson>- Throws:
IOException
-