1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-06 06:42:33 +03:00

♻️ rename internal_binary_t with binary_t

This commit is contained in:
Niels Lohmann
2020-05-17 22:50:27 +02:00
parent dead99eb0e
commit 904642f261
59 changed files with 536 additions and 457 deletions

View File

@ -14,6 +14,7 @@ int main()
json j_object = {{"one", 1}, {"two", 2}};
json j_array = {1, 2, 4, 8, 16};
json j_string = "Hello, world";
json j_binary = json::binary_array({1, 2, 3});
// call is_number_integer()
std::cout << std::boolalpha;
@ -25,4 +26,5 @@ int main()
std::cout << j_object.is_number_integer() << '\n';
std::cout << j_array.is_number_integer() << '\n';
std::cout << j_string.is_number_integer() << '\n';
std::cout << j_binary.is_number_integer() << '\n';
}