Lines Matching full:json
2 #include <nlohmann/json.hpp>
4 using json = nlohmann::json;
8 // create the different JSON values with default values
9 json j_null(json::value_t::null);
10 json j_boolean(json::value_t::boolean);
11 json j_number_integer(json::value_t::number_integer);
12 json j_number_float(json::value_t::number_float);
13 json j_object(json::value_t::object);
14 json j_array(json::value_t::array);
15 json j_string(json::value_t::string);
17 // serialize the JSON values