Compatibility patch for nlohmann/json < 3.9.0. (#12394)
This is required on CentOS 7 if using distro-provided json-devel 3.6.1.
Regression introduced in:
- https://github.com/microsoft/onnxruntime/pull/11775
Related upstream commit:
-
https://github.com/nlohmann/json/commit/74520d8bb0aa62374e5c5465b5b0f3b43d75d956
Fixed https://github.com/microsoft/onnxruntime/issues/12393