Class JacksonJsonDataFormatWriter
java.lang.Object
org.camunda.spin.impl.json.jackson.format.JacksonJsonDataFormatWriter
- All Implemented Interfaces:
DataFormatWriter
- Author:
- Daniel Meyer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeToWriter
(Writer writer, Object input) Writes the internal representation, as provided byinput
to the suppliedwriter
according to the data format that the implementation belongs to.
-
Field Details
-
dataFormat
-
-
Constructor Details
-
JacksonJsonDataFormatWriter
-
-
Method Details
-
writeToWriter
Description copied from interface:DataFormatWriter
Writes the internal representation, as provided byinput
to the suppliedwriter
according to the data format that the implementation belongs to. For example, an XML data format writer writes XML.- Specified by:
writeToWriter
in interfaceDataFormatWriter
- Parameters:
writer
- The writer to write the output toinput
- The object to write. Can be safely cast to the internal format of the data format.
-