Merge commit 'b9112977b074d67d6c83f04af36b6dabdf1d92c6' as 'external/json'
This commit is contained in:
11
external/json/docs/examples/object_comparator_t.cpp
vendored
Normal file
11
external/json/docs/examples/object_comparator_t.cpp
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user