# JSON Deep Equal

Compare explicit dynamic JSON values structurally, without configuration. Object member order is ignored; array order, property presence, null and scalar types matter. -0 equals 0. Examples: {a:1,b:2} equals {b:2,a:1}; [1,2] does not equal 

Canonical URL: https://opennodeflow.dev/wiki/reference-logic-compare-json/
JSON reference: https://opennodeflow.dev/wiki/reference-logic-compare-json/index.json
Source snapshot: 2026-10-23

# JSON Deep Equal

Compare explicit dynamic JSON values structurally, without configuration. Object member order is ignored; array order, property presence, null and scalar types matter. -0 equals 0. Examples: {a:1,b:2} equals {b:2,a:1}; [1,2] does not equal [2,1]; 1 does not equal "1". Validate both entire inputs before comparison, even if they differ at the root. Bounds apply independently per input.

Pure transformation: no I/O, secrets, logging or persistent state. No account setup is required. Errors throw to the error control path. Runtime validates inputs, configuration and returned data against the pinned contracts. Configuration defaults stated here are also implemented in code. Data wires alone do not choose execution paths. Existing JSON Value/List sockets are explicit dynamic JSON boundaries, not provider entity schemas.

Inputs: `left` (def_c5fc8fea11ea, required), `right` (def_c5fc8fea11ea, required). Outputs: `result` (boolean, required).

Unless a stricter limit is stated, JSON processing accepts at most 1 MiB UTF-8, 20000 values, depth 64, 10000 array items and 200000 UTF-16 code units per string/key. Invalid values fail without echoing payloads. JSON cannot transport undefined, cycles, BigInt, NaN or Infinity. Primitive text operations use the same 200000 code-unit bound. All type/executor dependencies are exact immutable pins; reading Latest help never upgrades graph instances.

## Audited socket contract (21 October 2026)

Inputs:
- `left`: `def_c5fc8fea11ea`; required.
- `right`: `def_c5fc8fea11ea`; required.

Outputs:
- `result`: `boolean`; required.

Configuration:
No asset-specific configuration.

Known provider records and list elements have structural schemas. Explicit dynamic payloads, selected query results and provider extensions retain the recursive JSON Value vocabulary; they do not imply a known provider entity. Null is distinct from omission. Runtime validates the exact selected immutable type version; reading newer documentation never repins existing graphs. This audit used synthetic fixtures/local mocks and does not establish live provider authorization or delivery.

## Catalog identity

| Field | Value |
| --- | --- |
| Source key | `logic.compare.json` |
| Kind | node |
| Family | logic |
| Pack | See library discovery |

[Integration guide](/wiki/integration-logic/) · [Browse the catalog](/wiki/integration-catalog/)

## Inputs

| Socket ID | Label | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `exec` | Exec | control | No |  |
| `left` | Left | def_c5fc8fea11ea v1 | Yes |  |
| `right` | Right | def_c5fc8fea11ea v1 | Yes |  |

## Outputs

| Socket ID | Label | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `next` | Next | control | No |  |
| `result` | Result | boolean | Yes |  |
| `error` | Error | control | No |  |

## Configuration schema


```json
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
```





## Source and installed versions

This reference describes the maintained source catalog snapshot, not a live export of your installation. Published definitions use immutable versions; installed graphs retain their exact pins. Discover and read the installed definition and selected version before wiring it. See [versioning](/wiki/versioning/), [connections](/wiki/connections/) and [integration setup](/wiki/integration-setup/).

---

## Documentation provenance

- `../OpenNodeFlow-Library/work/catalog-all.mjs`
- `../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs`
- `../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs`
- `shared/seed.ts`
- `shared/storage-library.ts`
- `shared/variable-library.ts`
- `shared/control-flow.ts`
- `shared/remote-routes.ts`
- `server/runtime-library.ts`
- `shared/error-library.ts`
- `shared/storage-model.ts`
- `shared/builtin-documentation.ts`

This page describes maintained source, not a live inventory or an authorization to perform actions.
