# JSON Config Diff Checker

**Use case:** 

Compare two inline JSON configs and export a flat row for every added, removed, changed, or type-changed path.

## Input

```json
{
  "jsonA": "{\"name\":\"Alice\",\"age\":30,\"role\":\"admin\",\"tags\":[\"a\",\"b\"]}",
  "jsonB": "{\"name\":\"Alice\",\"age\":31,\"role\":\"superadmin\",\"tags\":[\"a\",\"b\",\"c\"]}",
  "outputMode": "flat",
  "ignoreArrayOrder": false,
  "maxDepth": 0
}
```

## Output

```json
{
  "changeType": {
    "label": "Change",
    "format": "text"
  },
  "path": {
    "label": "Path",
    "format": "text"
  },
  "valueA": {
    "label": "Value A",
    "format": "text"
  },
  "valueB": {
    "label": "Value B",
    "format": "text"
  },
  "typeA": {
    "label": "Type A",
    "format": "text"
  },
  "typeB": {
    "label": "Type B",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [JSON Diff Tool](https://apify.com/automation-lab/json-diff-tool) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/json-diff-tool) to learn more, explore other use cases, and run it yourself.