You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
254 B
14 lines
254 B
#include <json.hpp>
|
|
|
|
using json = nlohmann::json;
|
|
|
|
int main()
|
|
{
|
|
// create boolean values
|
|
json j_truth = true;
|
|
json j_falsity = false;
|
|
|
|
// serialize the JSON booleans
|
|
std::cout << j_truth << '\n';
|
|
std::cout << j_falsity << '\n';
|
|
}
|