mirror of
https://github.com/nlohmann/json.git
synced 2024-08-23 21:42:29 +02:00
12 lines
377 B
C++
12 lines
377 B
C++
|
#include <iostream>
|
||
|
#include <nlohmann/json.hpp>
|
||
|
|
||
|
using json = nlohmann::json;
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
std::cout << std::boolalpha
|
||
|
<< "json::object_comparator_t(\"one\", \"two\") = " << json::object_comparator_t{}("one", "two") << "\n"
|
||
|
<< "json::object_comparator_t(\"three\", \"four\") = " << json::object_comparator_t{}("three", "four") << std::endl;
|
||
|
}
|