{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-logic-codec-entry-decode",
  "title": "JSON Record Entry Decode",
  "section": "Library asset reference",
  "description": "Expand typed entry value into key (literal string) and data (dynamic JSON field content). No configuration. Example {key:\"x\",value:false} → key=\"x\", data=false. The data socket reuses the shared JSON Value type so it connects to Default JSO",
  "kind": "node",
  "url": "/wiki/reference-logic-codec-entry-decode/",
  "markdown": "/wiki/reference-logic-codec-entry-decode/index.md",
  "json": "/wiki/reference-logic-codec-entry-decode/index.json",
  "headings": [
    {
      "id": "audited-socket-contract-21-october-2026",
      "title": "Audited socket contract (21 October 2026)",
      "depth": 2
    },
    {
      "id": "catalog-identity",
      "title": "Catalog identity",
      "depth": 2
    },
    {
      "id": "inputs",
      "title": "Inputs",
      "depth": 2
    },
    {
      "id": "outputs",
      "title": "Outputs",
      "depth": 2
    },
    {
      "id": "configuration-schema",
      "title": "Configuration schema",
      "depth": 2
    },
    {
      "id": "source-and-installed-versions",
      "title": "Source and installed versions",
      "depth": 2
    }
  ],
  "sources": [
    "../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"
  ],
  "family": "logic",
  "contract": {
    "key": "logic.codec.entry.decode",
    "slug": "logic-codec-entry-decode",
    "name": "JSON Record Entry Decode",
    "kind": "node",
    "family": "logic",
    "packId": null,
    "category": "Data/Codecs",
    "description": "Expand typed entry `value` into `key` (literal string) and `data` (dynamic JSON field content). No configuration. Example {key:\"x\",value:false} → key=\"x\", data=false. The data socket reuses the shared JSON Value type so it connects to Default JSON Value and JSON comparisons.",
    "inputs": [
      {
        "id": "exec",
        "name": "Execute",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "value",
        "name": "Value",
        "type": "@logic.type.entry",
        "typeName": "JSON Record Entry",
        "typeKey": "logic.type.entry",
        "typeVersion": 1,
        "required": true
      }
    ],
    "outputs": [
      {
        "id": "next",
        "name": "Next",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "key",
        "name": "Key",
        "type": "string",
        "typeName": "Text",
        "required": true
      },
      {
        "id": "data",
        "name": "Data",
        "type": "def_c5fc8fea11ea",
        "typeName": "Named contract",
        "typeVersion": 1,
        "required": true
      },
      {
        "id": "error",
        "name": "On error",
        "type": "control",
        "typeName": "Control",
        "required": false
      }
    ],
    "configSchema": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "documentation": "Expand typed entry `value` into `key` (literal string) and `data` (dynamic JSON field content). No configuration. Example {key:\"x\",value:false} → key=\"x\", data=false. The data socket reuses the shared JSON Value type so it connects to Default JSON Value and JSON comparisons.\n\nPure transformation: no I/O, secrets, persistence or external effects. Text is limited to 1 MiB UTF-8; JSON values to 1 MiB serialized JSON; lists to 10000 items. Configuration uses only the listed schema fields. Invalid sizes, indices, types or duplicate keys throw through On error; there are no retries. Missing is distinct from null. Custom type pins are exact immutable dependencies. Generic JSON values remain deliberate dynamic boundaries, not provider entity types.\n\n## Audited socket contract (21 October 2026)\n\nInputs:\n- `value`: `@logic.type.entry`; required.\n\nOutputs:\n- `key`: `string`; required.\n- `data`: `def_c5fc8fea11ea`; required.\n\nConfiguration:\nNo asset-specific configuration.\n\nKnown 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.",
    "runtime": "javascript",
    "tags": [
      "codec",
      "data/codecs",
      "general-purpose",
      "library-expansion",
      "node"
    ],
    "source": "baseline-catalog"
  }
}
