1 #include <iostream> 2 #include <nlohmann/json.hpp> 3 4 using json = nlohmann::json; 5 main()6int main() 7 { 8 std::cout << std::boolalpha 9 << "one < two : " << json::default_object_comparator_t{}("one", "two") << "\n" 10 << "three < four : " << json::default_object_comparator_t{}("three", "four") << std::endl; 11 } 12