public static class Writers.PrimitiveUtf8StringWriter extends Writers.PrimitiveTypeWriter
| Constructor and Description |
|---|
PrimitiveUtf8StringWriter() |
| Modifier and Type | Method and Description |
|---|---|
String |
extractString(Object o) |
void |
writePrimitiveForm(Object o,
Writer output)
This method will be called to write the item in primitive form (if the response to hasPrimitiveForm()
was true).
|
getKey, hasPrimitiveForm, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWriter, hasPrimitiveForm, write, writePrimitiveFormpublic void writePrimitiveForm(Object o, Writer output) throws IOException
JsonWriter.JsonClassWritero - Object to be writtenoutput - Writer destination to where the actual JSON is written.IOException - if thrown by the writer. Will be caught at a higher level and wrapped in JsonIoException.Copyright © 2023. All rights reserved.