All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.camel.dataformat.xstream.xstreamJson.json Maven / Gradle / Ivy

The newest version!
{
  "dataformat": {
    "kind": "dataformat",
    "name": "xstreamJson",
    "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.22.3",
    "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", "label": "advanced", "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" }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy