JSON JSON-B
Marshal POJOs to JSON and back using JSON-B.
Maven coordinates
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-jsonb-starter</artifactId>
</dependency> Spring Boot Auto-Configuration
The starter supports 4 options, which are listed below.
| Name | Description | Default | Type |
|---|---|---|---|
camel.dataformat.jsonb.enabled | Whether to enable auto configuration of the jsonb data format. This is enabled by default. | Boolean | |
camel.dataformat.jsonb.object-mapper | Lookup and use the existing Jsonb instance with the given id. | String | |
camel.dataformat.jsonb.pretty-print | To enable pretty printing output nicely formatted. Is by default false. | false | Boolean |
camel.dataformat.jsonb.unmarshal-type | Class name of the java type to use when unmarshalling. | String |