Package | Description |
---|---|
org.apache.camel.builder | |
org.apache.camel.model.dataformat |
The JAXB POJOs for the Data Formats used to marshal and
unmarshal objects to and from streams inside components
|
Modifier and Type | Method and Description |
---|---|
T |
DataFormatClause.json(JsonLibrary library)
Uses the JSON data format
|
T |
DataFormatClause.json(JsonLibrary library,
boolean prettyPrint)
Uses the JSON data format
|
T |
DataFormatClause.json(JsonLibrary type,
Class<?> unmarshalType)
Uses the JSON data format
|
T |
DataFormatClause.json(JsonLibrary type,
Class<?> unmarshalType,
boolean prettyPrint)
Uses the JSON data format
|
Modifier and Type | Method and Description |
---|---|
JsonLibrary |
JsonDataFormat.getLibrary() |
static JsonLibrary |
JsonLibrary.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonLibrary[] |
JsonLibrary.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
JsonDataFormat |
JsonDataFormat.library(JsonLibrary library) |
void |
JsonDataFormat.setLibrary(JsonLibrary library)
Which json library to use.
|
Constructor and Description |
---|
JsonDataFormat(JsonLibrary library) |
Apache Camel