Niels Lohmann

Results 421 comments of Niels Lohmann

The contribution guidelines state: > Please do not edit the files single_include/nlohmann/json.hpp and single_include/nlohmann/json_fwd.hpp directly, but change the include/nlohmann sources and regenerate the files by executing `make amalgamate`. I am...

I am hesitant to approach this, because adding yet another compile-time flag (and probably also expose it to CMake) is adding another bit of complexity to the project that needs...

Do not use curly braces to initialize a JSON value, see the first item of the FAQ: https://json.nlohmann.me/home/faq/

Please share the input to check. Please also make sure you compile in release mode.

I would assume using xz would make the file small enough.

I see 250 MB for that file. Not sure what your compiler is doing there. My code for reference: ```cpp #include #include #include int main() { std::ifstream f("/Users/niels/Downloads/input.txt"); auto x...

> @nlohmann Do you have question about this PR? Why is this addition needed?