mirror of
https://github.com/nlohmann/json.git
synced 2026-10-01 13:34:14 +07:00
Before this patch, `basic_json` types with different template arguments were treated as `CompatibleArrayType`. Which sometimes leads to recursive calls and stack overflows. This patch adds a constructor and a `get` overload to deal with different `basic_json` types.