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, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasPrimitiveForm, write, writePrimitiveForm
public void writePrimitiveForm(Object o, Writer output) throws IOException
JsonWriter.JsonClassWriter
o
- 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 © 2024. All rights reserved.