public static class Writers.LocalDateAsLong extends Writers.PrimitiveTypeWriter
Constructor and Description |
---|
LocalDateAsLong() |
LocalDateAsLong(ZoneId zoneId) |
Modifier and Type | Method and Description |
---|---|
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 LocalDateAsLong(ZoneId zoneId)
public LocalDateAsLong()
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.