public static class Writers.CharacterWriter extends Writers.PrimitiveTypeWriter
Constructor and Description |
---|
CharacterWriter() |
Modifier and Type | Method and Description |
---|---|
void |
writePrimitiveForm(Object o,
Writer output,
WriterContext context)
This default implementation will call the more basic writePrimitiveForm that does not take arguments.
|
getKey, hasPrimitiveForm, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasPrimitiveForm, write, writePrimitiveForm
public void writePrimitiveForm(Object o, Writer output, WriterContext context) throws IOException
JsonWriter.JsonClassWriter
o
- Object to be writtenoutput
- Writer destination to where the actual JSON is written.context
- WriterContext to get access to writeOptions and writing toolsIOException
- if thrown by the writer. Will be caught at a higher level and wrapped in JsonIoException.Copyright © 2024. All rights reserved.