mirror of
https://github.com/nlohmann/json.git
synced 2026-10-28 19:45:22 +00:00
deploy: 94fe31eb9b
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include <iomanip>
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
using json = nlohmann::json;
|
||||
using nlohmann::json;
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -12,5 +12,5 @@ int main()
|
||||
nlohmann::ordered_json oj1 = {{"version", 1}, {"type", "integer"}};
|
||||
nlohmann::ordered_json oj2 = {{"type", "integer"}, {"version", 1}};
|
||||
|
||||
std::cout << std::boolalpha << (uj1 == uj2) << '\n' << (oj1 == oj2) << std::endl;
|
||||
std::cout << std::boolalpha << (uj1 == uj2) << '\n' << (oj1 == oj2) << '\n';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user