{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-logic-record-entries",
  "title": "JSON Record To Entries",
  "section": "Library asset reference",
  "description": "Expand record own enumerable fields to typed entries plus count . No configuration. JavaScript own-key order is retained (integer-like keys precede other keys). Example {a:0,b:false} → [{key:\"a\",value:0},{key:\"b\",value:false}], count=2. Emp",
  "kind": "node",
  "url": "/wiki/reference-logic-record-entries/",
  "markdown": "/wiki/reference-logic-record-entries/index.md",
  "json": "/wiki/reference-logic-record-entries/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.record.entries",
    "slug": "logic-record-entries",
    "name": "JSON Record To Entries",
    "kind": "node",
    "family": "logic",
    "packId": null,
    "category": "Objects",
    "description": "Expand `record` own enumerable fields to typed `entries` plus `count`. No configuration. JavaScript own-key order is retained (integer-like keys precede other keys). Example {a:0,b:false} → [{key:\"a\",value:0},{key:\"b\",value:false}], count=2. Empty object produces []. Inherited fields are excluded.",
    "inputs": [
      {
        "id": "exec",
        "name": "Execute",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "record",
        "name": "Record",
        "type": "def_f9962f86c7f4",
        "typeName": "Named contract",
        "typeVersion": 1,
        "required": true
      }
    ],
    "outputs": [
      {
        "id": "next",
        "name": "Next",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "entries",
        "name": "Entries",
        "type": "@logic.type.entries",
        "typeName": "JSON Record Entries",
        "typeKey": "logic.type.entries",
        "typeVersion": 1,
        "required": true
      },
      {
        "id": "count",
        "name": "Count",
        "type": "number",
        "typeName": "Number",
        "required": true
      },
      {
        "id": "error",
        "name": "On error",
        "type": "control",
        "typeName": "Control",
        "required": false
      }
    ],
    "configSchema": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "documentation": "Expand `record` own enumerable fields to typed `entries` plus `count`. No configuration. JavaScript own-key order is retained (integer-like keys precede other keys). Example {a:0,b:false} → [{key:\"a\",value:0},{key:\"b\",value:false}], count=2. Empty object produces []. Inherited fields are excluded.\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- `record`: `def_f9962f86c7f4`; required.\n\nOutputs:\n- `entries`: `@logic.type.entries`; required.\n- `count`: `number`; 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": [
      "general-purpose",
      "library-expansion",
      "node",
      "objects"
    ],
    "source": "baseline-catalog"
  }
}
