1. Home
  2. ...
  3. Data Transformation and Validation
  4. c JOLT

c JOLT

Available connectors

The JOLT component allows you to transform and manipulate JSON data declaratively using specifications defined in JOLT files.

URI Syntax: jolt:resourceUri

Main fields

Path parameters

Name
Description
Default
Type
resourceUri (producer)(required) Path to the resource. You can prefix with: classpath, file, http, ref or bean.—String

Query parameters

Name
Description
Default
Type
inputType(producer)Specifies whether the input is hydrated JSON or a JSON String.HydratedJoltInputOutputType
outputType(producer)Specifies whether the output should be hydrated JSON or a JSON String.HydratedJoltInputOutputType
contentCache (producer)Defines whether to use resource content cache or not.trueBoolean

Example

The flow starts with a POST request.

The request body is logged.

The flow transforms the request body using a Jolt template located in the template.json file.

  • The inputType: JsonString and outputType: JsonString parameters ensure that input and output are handled as JSON strings.
  • contentCache: true enables result caching.

Finally, the flow logs the transformation result.

JSON template

Result

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more