#include #include using json = nlohmann::json; int main() { std::cout << std::boolalpha << "one < two : " << json::default_object_comparator_t{}("one", "two") << "\n" << "three < four : " << json::default_object_comparator_t{}("three", "four") << std::endl; }