You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using const nlohmann::json j{R"([...])"_json}; a different result is returned compared to const nlohmann::json j = nlohmann::json::parse(R"([...])");
Please describe the steps to reproduce the issue. Can you provide a small but working code example?
This issue was only reproducible on Ubuntu 18.04 and it did not happen on macOS 10.13.3.
When using
const nlohmann::json j{R"([...])"_json};
a different result is returned compared toconst nlohmann::json j = nlohmann::json::parse(R"([...])");
This issue was only reproducible on Ubuntu 18.04 and it did not happen on macOS 10.13.3.
Both of these parse correctly in macOS to the following value:
The example using ::parse correctly parses to the above value in Ubuntu 18.04, however, the _json implementation parses to the following:
Compiler Version:
g++ (Ubuntu 7.3.0-16ubuntu3) 7.3.0
Currently not listed as supported.
Library Version: 3.1.2 (release)
Testing
Dockerfile used to run the unit tests:
The text was updated successfully, but these errors were encountered: