Skip to content

A package to install the nlohmann_json parser

Fixes ATLINFR-2721

This configure the build of the nlohmann_json JSON parser: https://github.com/nlohmann/json

I prepared an example package, which can be found in the External/nlohmann_json/example folder. It shows people how to use the package from the Externals and the JSON parser itself. Step-by-step instructions can be found in the External/nlohmann_json/example/README.md file.


NOTES:

  • The External package uses the sources of the library's latest release, which I stored on EOS.

  • nlohmann_json is a header-only library. But the default compilation builds a lot of tests, too. Since we are not interested in the library's tests (we assume that any official library's release has been tested by the developers), I switched off the build of the library's tests. That reduces the compilation time A LOT!


CC-ing: @fwinkl , @amete , @ivivarel , @sroe , @dguest , @krumnack

Edited by Riccardo Maria Bianchi

Merge request reports