Skip to main content
Parses a JSON string into a data object. Use this when a value arrives as JSON wrapped up in a single piece of text, for example an API that returns XML with one field holding a JSON string, or a message where the body is a JSON document. It reads the text and turns it back into structured data, so the keys and values inside become regular fields you can read and map.

Fields

This mapper has no settings to configure. Point it at the JSON text you want to parse and it does the rest.

Sample data

FieldValue
(no settings)
Input:
{
    "payload": "{\"sku\":\"A1\",\"name\":\"Wool scarf\",\"price\":19.99,\"inStock\":true}"
}
Output:
{
    "payload": {
        "sku": "A1",
        "name": "Wool scarf",
        "price": 19.99,
        "inStock": true
    }
}
The difference looks small at first glance: the input is one piece of text that happens to contain JSON, while the output is real structured data you can work with field by field.