This is a fine library, but I use nlohmann extensively and haven't experienced any considerable compilation slowdown once I added it to the project.
Overloading from_json to modularize parsing is really useful, I think that should be a part of every templated C++ json parser library.
That said, I have seen these ThomPike* macros in cosmopolitan.h before, I wonder what the origin is.