)]}'
{
  "commit": "45c47ef9218dc3a9857fbe4384687faa621d72e8",
  "tree": "a908e2f5ba39c0bcd70cdeade3c946bd887e5cdb",
  "parents": [
    "bb4c52285896874ffe676de2c27e7462d8e32b21"
  ],
  "author": {
    "name": "Niels Lohmann",
    "email": "mail@nlohmann.me",
    "time": "Tue Jul 21 07:27:08 2026 +0000"
  },
  "committer": {
    "name": "Niels Lohmann",
    "email": "mail@nlohmann.me",
    "time": "Tue Jul 21 07:27:08 2026 +0000"
  },
  "message": "Avoid deep recursion in serialization write-buffer test\n\nThe \"many small structural writes exceed the write buffer\" subcase built\na 1100-deep nested array and dumped it to force \u003e1024 consecutive\nsingle-character writes through put_char (exercising the write buffer\u0027s\nflush-when-full branch). dump() recurses per nesting level, so on MSVC\ndebug builds (smaller default stack, larger frames) this overflowed the\nstack and crashed test-serialization; Linux/macOS have enough headroom to\nhide it.\n\nReplace the nesting with a flat array of 500 empty strings. Each element\nemits \u0027\"\u0027, \u0027\"\u0027, \u0027,\u0027 via put_char, so the dump is a long run of\nsingle-character writes (1501 bytes \u003e the 1024-byte buffer) at nesting\ndepth two, hitting the same flush branch without deep recursion. Library\ncode is unchanged.\n\nCo-Authored-By: Claude Opus 4.8 \u003cnoreply@anthropic.com\u003e\nClaude-Session: https://claude.ai/code/session_01XAYM1qhSA2FDaDcGfPW3fG\nSigned-off-by: Niels Lohmann \u003cmail@nlohmann.me\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "983782dcf9ffa75703a30fc144760a474340693f",
      "old_mode": 33188,
      "old_path": "tests/src/unit-serialization.cpp",
      "new_id": "1d34e8002aa1a646ac07b1b02e4f1bb6fe9f1ab6",
      "new_mode": 33188,
      "new_path": "tests/src/unit-serialization.cpp"
    }
  ]
}
