public static class Writers.PrimitiveValueWriter extends Writers.PrimitiveTypeWriter
Constructor and Description |
---|
PrimitiveValueWriter() |
Modifier and Type | Method and Description |
---|---|
String |
extractString(Object o) |
void |
writePrimitiveForm(Object o,
Writer output)
Writes out a basic value type, no quotes.
|
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
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 © 2023. All rights reserved.