)]}'
{
  "commit": "ad94fb01ccd258bf3d647c74ee7a905a55a017ce",
  "tree": "c181bfec8ce0e7e41e2ff821d67c19746f52148a",
  "parents": [
    "c2e1cc50e06803c85332bdc11dd9220edcff7b11"
  ],
  "author": {
    "name": "Niels Lohmann",
    "email": "mail@nlohmann.me",
    "time": "Tue Aug 04 08:45:50 2026 +0200"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Aug 04 08:45:50 2026 +0200"
  },
  "message": "docs: document size-mismatch behavior of fixed-size conversions (#5352)\n\nConversions whose element count is fixed by the destination C++ type --\n`std::pair`, `std::tuple`, `std::array\u003cT, N\u003e`, C arrays, and\n`std::map`/`std::unordered_map` with a non-string key -- read exactly the\nelements they need via `at` and never compare the JSON array\u0027s size to\nthat number. Excess elements are silently discarded, while a shortfall\nthrows `out_of_range.401` rather than a `type_error`. Neither direction\nwas documented in `conversions.md`, `get.md`, or `from_json.md`.\n\nThe existing warning covered only `std::array` and stated that a too-short\nJSON array leaves the remaining elements default-constructed with no\nexception thrown; that is not what happens. Generalize it to all\nfixed-size destinations and correct the shortfall direction.\n\nSigned-off-by: Niels Lohmann \u003cmail@nlohmann.me\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2a48a05a40ab754a424e7be8c9ca196ae22cc9fc",
      "old_mode": 33188,
      "old_path": "docs/mkdocs/docs/features/conversions.md",
      "new_id": "765c610ab41d654937cc7f12f59773aad56a9792",
      "new_mode": 33188,
      "new_path": "docs/mkdocs/docs/features/conversions.md"
    }
  ]
}
