public class JacksonJsonDataFormatWriter extends Object implements DataFormatWriter
| Modifier and Type | Field and Description |
|---|---|
protected JacksonJsonDataFormat |
dataFormat |
| Constructor and Description |
|---|
JacksonJsonDataFormatWriter(JacksonJsonDataFormat dataFormat) |
| Modifier and Type | Method and Description |
|---|---|
void |
writeToWriter(Writer writer,
Object input)
Writes the internal representation, as provided by
input
to the supplied writer according to the data format
that the implementation belongs to. |
protected JacksonJsonDataFormat dataFormat
public JacksonJsonDataFormatWriter(JacksonJsonDataFormat dataFormat)
public void writeToWriter(Writer writer, Object input)
DataFormatWriterinput
to the supplied writer according to the data format
that the implementation belongs to.
For example, an XML data format writer writes XML.writeToWriter in interface DataFormatWriterwriter - The writer to write the output toinput - The object to write. Can be safely cast to the internal
format of the data format.Copyright © 2014–2020 Camunda Services GmbH. All rights reserved.