blob: c73e3d4d6c08551dc200eadc92b2290973c2a43f [file] [log] [blame]
{
"dataformat": {
"kind": "dataformat",
"name": "json-xstream",
"title": "JSON XStream",
"description": "Marshal POJOs to JSON and back using XStream",
"deprecated": false,
"firstVersion": "2.0.0",
"label": "dataformat,transformation,json",
"javaType": "org.apache.camel.dataformat.xstream.JsonDataFormat",
"supportLevel": "Stable",
"groupId": "org.apache.camel",
"artifactId": "camel-xstream",
"version": "3.15.0-SNAPSHOT",
"modelName": "json",
"modelJavaType": "org.apache.camel.model.dataformat.JsonDataFormat"
},
"properties": {
"prettyPrint": { "kind": "attribute", "displayName": "Pretty Print", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "To enable pretty printing output nicely formatted. Is by default false." },
"dropRootNode": { "kind": "attribute", "displayName": "Drop Root Node", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether XStream will drop the root node in the generated JSon. You may want to enable this when using POJOs; as then the written object will include the class name as root node, which is often not intended to be written in the JSON output." },
"contentTypeHeader": { "kind": "attribute", "displayName": "Content Type Header", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether the data format should set the Content-Type header with the type from the data format. For example application\/xml for data formats marshalling to XML, or application\/json for data formats marshalling to JSON" }
}
}