When defined, headers
<ostream> are not included and parse functions relying on these headers are excluded. This is relevant for environments where these I/O functions are disallowed for security reasons (e.g., Intel Software Guard Extensions (SGX)).
JSON_NO_IO is not defined.
The code below forces the library not to use the headers
#define JSON_NO_IO 1 #include <nlohmann/json.hpp> ...
- Added in version 3.10.0.