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:
@ -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_object()
|
||||
std::cout << std::boolalpha;
|
||||
@ -25,4 +26,5 @@ int main()
|
||||
std::cout << j_object.is_object() << '\n';
|
||||
std::cout << j_array.is_object() << '\n';
|
||||
std::cout << j_string.is_object() << '\n';
|
||||
std::cout << j_binary.is_object() << '\n';
|
||||
}
|
||||
|
Reference in New Issue
Block a user