> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apinizer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# JSON Transformer

> You can test Jolt spec with JSON to JSON transformation test tool, view Input/Output preview, and perform syntax validation

JSON Transformer enables transformation of JSON data using Jolt expressions with JSON to JSON.

Information about how the transformation occurs can be learned with JOLT examples in the **Examples** section.

<Frame caption="JSON to JSON Transformer Settings">
  <img src="https://mintcdn.com/apinizer/RRMb-IlNV4OGXuzC/images/develop/test-debug-araclari/toolbox/json-transformer-1.png?fit=max&auto=format&n=RRMb-IlNV4OGXuzC&q=85&s=c89aa81b008e908b6008a709120d48eb" alt="JSON to JSON Transformer settings" width="800" height="600" data-path="images/develop/test-debug-araclari/toolbox/json-transformer-1.png" />
</Frame>

<Frame caption="JSON to XML Transformer Settings">
  <img src="https://mintcdn.com/apinizer/RRMb-IlNV4OGXuzC/images/develop/test-debug-araclari/toolbox/json-transformer-2.png?fit=max&auto=format&n=RRMb-IlNV4OGXuzC&q=85&s=f049b0f001173835c094fc4452fc1a48" alt="JSON to XML Transformer settings" width="800" height="600" data-path="images/develop/test-debug-araclari/toolbox/json-transformer-2.png" />
</Frame>

The fields used for JSON to XML configuration are shown in the table below.

| Field                                                                                | Description                                                                                                                                                                                                                                  |
| ------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Ignore fields with NULL values** <em>(Ignore fields with NULL values)</em>         | Checked so that elements with NULL values are not placed in the JSON message.                                                                                                                                                                |
| **Ignore EMPTY fields** <em>(Ignore EMPTY fields)</em>                               | Checked so that elements with empty values are not placed in the JSON message.                                                                                                                                                               |
| **Use xsi:nil="true" for NULL values** <em>(Use xsi:nil="true" for NULL values)</em> | If checked, the xsi:nil="true" attribute is used for NULL values in the JSON message coming in the request in the XML message to be sent to the Backend API. Otherwise, an empty element is added to the XML message for the relevant value. |
| **Unwrap Element** <em>(Unwrap Element)</em>                                         | If checked, it converts the JSON root element as is, if not checked (by default) it wraps it with an ObjectNode or ArrayNode element.                                                                                                        |
