org.apache.camel.model.dataformat
Class JsonDataFormat
java.lang.Object
org.apache.camel.model.IdentifiedType
org.apache.camel.model.DataFormatDefinition
org.apache.camel.model.dataformat.JsonDataFormat
public class JsonDataFormat
- extends DataFormatDefinition
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonDataFormat
public JsonDataFormat()
JsonDataFormat
public JsonDataFormat(JsonLibrary library)
getPrettyPrint
public Boolean getPrettyPrint()
setPrettyPrint
public void setPrettyPrint(Boolean prettyPrint)
getUnmarshalType
public Class<?> getUnmarshalType()
setUnmarshalType
public void setUnmarshalType(Class<?> unmarshalType)
createDataFormat
protected DataFormat createDataFormat(RouteContext routeContext)
- Description copied from class:
DataFormatDefinition
- Factory method to create the data format instance
- Overrides:
createDataFormat
in class DataFormatDefinition
configureDataFormat
protected void configureDataFormat(DataFormat dataFormat)
- Description copied from class:
DataFormatDefinition
- Allows derived classes to customize the data format
- Overrides:
configureDataFormat
in class DataFormatDefinition
Apache CAMEL