Category "nlohmann-json"

building a nested JSON

Some data files that I need to read / parse have headers in the style: level0var = value0 level0var.level1field = value1 level0var.level1array[11].level2field

Template issue with nlohmann::json

Here's my code and the error, and below I'll show some code that works. #include <iostream> #include <string> #include <nlohmann/json.hpp> u

parse libcurl response with nlohmann json or rapidjson

My libcurl code returns me a json string: {"object":"user","attributes":{"id":000,"admin":false,"username":"un","email":"[email protected]","first_name":"leopold