Package com.cedarsoftware.io
Class Writers.BigIntegerWriter
java.lang.Object
com.cedarsoftware.io.Writers.PrimitiveTypeWriter
com.cedarsoftware.io.Writers.PrimitiveValueWriter
com.cedarsoftware.io.Writers.BigIntegerWriter
- All Implemented Interfaces:
JsonWriter.JsonClassWriter
- Enclosing class:
Writers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwritePrimitiveForm(Object o, Writer output, WriterContext context) Writes out a basic value type, no quotes.Methods inherited from class com.cedarsoftware.io.Writers.PrimitiveValueWriter
extractStringMethods inherited from class com.cedarsoftware.io.Writers.PrimitiveTypeWriter
getKey, hasPrimitiveForm, write
-
Constructor Details
-
BigIntegerWriter
public BigIntegerWriter()
-
-
Method Details
-
writePrimitiveForm
Description copied from class:Writers.PrimitiveValueWriterWrites out a basic value type, no quotes. to write strings use PrimitiveUtf8StringWriter.- Specified by:
writePrimitiveFormin interfaceJsonWriter.JsonClassWriter- Overrides:
writePrimitiveFormin classWriters.PrimitiveValueWriter- Parameters:
o- Object to be writtenoutput- Writer destination to where the actual JSON is written.context- WriterContext to get access to writeOptions and writing tools- Throws:
IOException- if thrown by the writer. Will be caught at a higher level and wrapped in JsonIoException.
-