Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DOCUMENTS 16 / ecma2025 json stringify replacer tojson enumeration abrupt transcript

Reconstruct complete JSON.stringify traversal, replacer/toJSON callbacks, array-hole/undefined handling, indentation, cycle and abrupt outcomes over a supplied finite synthetic object graph.. Compare the complete typed result SHA256.

POST https://detect.halowerk.com/v1/F-TD2000-DOCUMENTS-16/ecma2025-json-stringify-replacer-tojson-enumeration-abrupt-transcript

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "jsonStringify"
      ],
      "properties": {
        "jsonStringify": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "root",
                "nodes",
                "replacer",
                "space"
              ],
              "properties": {
                "root": {
                  "$ref": "#/properties/artifact/%24defs/a"
                },
                "nodes": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "kind",
                          "properties",
                          "to_json"
                        ],
                        "properties": {
                          "id": {
                            "$ref": "#/properties/artifact/%24defs/j"
                          },
                          "kind": {
                            "const": "object"
                          },
                          "properties": {
                            "$ref": "#/properties/artifact/%24defs/k"
                          },
                          "to_json": {
                            "$ref": "#/properties/artifact/%24defs/n"
                          }
                        }
                      },
                      {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "kind",
                          "length",
                          "properties",
                          "to_json"
                        ],
                        "properties": {
                          "id": {
                            "$ref": "#/properties/artifact/%24defs/j"
                          },
                          "kind": {
                            "const": "array"
                          },
                          "length": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 32
                          },
                          "properties": {
                            "$ref": "#/properties/artifact/%24defs/k"
                          },
                          "to_json": {
                            "$ref": "#/properties/artifact/%24defs/n"
                          }
                        }
                      }
                    ]
                  },
                  "maxItems": 24
                },
                "replacer": {
                  "anyOf": [
                    {
                      "type": "null"
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "keys"
                      ],
                      "properties": {
                        "kind": {
                          "const": "keys"
                        },
                        "keys": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "maxLength": 64
                          },
                          "maxItems": 32
                        }
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "rules"
                      ],
                      "properties": {
                        "kind": {
                          "const": "callback"
                        },
                        "rules": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "key",
                              "holder",
                              "action"
                            ],
                            "properties": {
                              "key": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "maxLength": 64
                              },
                              "holder": {
                                "anyOf": [
                                  {
                                    "type": "null"
                                  },
                                  {
                                    "$ref": "#/properties/artifact/%24defs/j"
                                  }
                                ]
                              },
                              "action": {
                                "$ref": "#/properties/artifact/%24defs/o"
                              }
                            }
                          },
                          "maxItems": 32
                        }
                      }
                    }
                  ]
                },
                "space": {
                  "anyOf": [
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "value"
                      ],
                      "properties": {
                        "kind": {
                          "const": "number"
                        },
                        "value": {
                          "type": "number",
                          "minimum": -20,
                          "maximum": 20
                        }
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "value"
                      ],
                      "properties": {
                        "kind": {
                          "const": "string"
                        },
                        "value": {
                          "type": "string",
                          "maxLength": 20
                        }
                      }
                    }
                  ]
                }
              }
            },
            "claim": {
              "type": [
                "string",
                "null"
              ],
              "minLength": 64,
              "maxLength": 64,
              "pattern": "^[0-9a-f]{64}$"
            }
          }
        }
      },
      "$defs": {
        "a": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "kind"
              ],
              "properties": {
                "kind": {
                  "enum": [
                    "null",
                    "undefined",
                    "function",
                    "symbol"
                  ]
                }
              }
            },
            {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "kind",
                "value"
              ],
              "properties": {
                "kind": {
                  "const": "boolean"
                },
                "value": {
                  "type": "boolean"
                }
              }
            },
            {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "kind",
                "value"
              ],
              "properties": {
                "kind": {
                  "const": "number"
                },
                "value": {
                  "type": "number",
                  "minimum": -1000000000000,
                  "maximum": 1000000000000
                }
              }
            },
            {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "kind",
                "value"
              ],
              "properties": {
                "kind": {
                  "const": "string"
                },
                "value": {
                  "type": "string",
                  "maxLength": 256
                }
              }
            },
            {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "kind",
                "value"
              ],
              "properties": {
                "kind": {
                  "const": "bigint"
                },
                "value": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 32,
                  "pattern": "^-?(0|[1-9][0-9]*)$",
                  "not": {
                    "type": "string",
                    "pattern": "[\\r\\n

]"
                  }
                }
              }
            },
            {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "kind",
                "node"
              ],
              "properties": {
                "kind": {
                  "const": "reference"
                },
                "node": {
                  "$ref": "#/properties/artifact/%24defs/j"
                }
              }
            }
          ]
        },
        "j": {
          "type": "string",
          "minLength": 1,
          "maxLength": 48,
          "pattern": "^[A-Za-z_][A-Za-z0-9_.-]*$",
          "not": {
            "type": "string",
            "pattern": "[\\r\\n

]"
          }
        },
        "k": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "key",
              "enumerable",
              "value",
              "getter"
            ],
            "properties": {
              "key": {
                "type": "string",
                "maxLength": 64
              },
              "enumerable": {
                "type": "boolean"
              },
              "value": {
                "$ref": "#/properties/artifact/%24defs/a"
              },
              "getter": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": false,
                "required": [
                  "result",
                  "error"
                ],
                "properties": {
                  "result": {
                    "$ref": "#/properties/artifact/%24defs/a"
                  },
                  "error": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "minLength": 1,
                    "maxLength": 32
                  }
                }
              }
            }
          },
          "maxItems": 32
        },
        "n": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "$ref": "#/properties/artifact/%24defs/o"
            }
          ]
        },
        "o": {
          "anyOf": [
            {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "mode"
              ],
              "properties": {
                "mode": {
                  "enum": [
                    "identity",
                    "key"
                  ]
                }
              }
            },
            {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "mode",
                "value"
              ],
              "properties": {
                "mode": {
                  "const": "constant"
                },
                "value": {
                  "$ref": "#/properties/artifact/%24defs/a"
                }
              }
            },
            {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "mode",
                "error"
              ],
              "properties": {
                "mode": {
                  "const": "throw"
                },
                "error": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 32
                }
              }
            }
          ]
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 20:49 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →