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

  1. #include <json.hpp>
  2. using json = nlohmann::json;
  3. int main()
  4. {
  5. // create boolean values
  6. json j_truth = true;
  7. json j_falsity = false;
  8. // serialize the JSON booleans
  9. std::cout << j_truth << '\n';
  10. std::cout << j_falsity << '\n';
  11. }