Home
last modified time | relevance | path

Searched refs:j_binary (Results 1 – 14 of 14) sorted by relevance

/third_party/json/docs/examples/
Dis_boolean.cpp17 json j_binary = json::binary({1, 2, 3}); in main() local
29 std::cout << j_binary.is_boolean() << '\n'; in main()
Dis_primitive.cpp17 json j_binary = json::binary({1, 2, 3}); in main() local
29 std::cout << j_binary.is_primitive() << '\n'; in main()
Dis_number.cpp17 json j_binary = json::binary({1, 2, 3}); in main() local
29 std::cout << j_binary.is_number() << '\n'; in main()
Dis_number_unsigned.cpp17 json j_binary = json::binary({1, 2, 3}); in main() local
29 std::cout << j_binary.is_number_unsigned() << '\n'; in main()
Dis_discarded.cpp17 json j_binary = json::binary({1, 2, 3}); in main() local
29 std::cout << j_binary.is_discarded() << '\n'; in main()
Dis_null.cpp17 json j_binary = json::binary({1, 2, 3}); in main() local
29 std::cout << j_binary.is_null() << '\n'; in main()
Dis_number_float.cpp17 json j_binary = json::binary({1, 2, 3}); in main() local
29 std::cout << j_binary.is_number_float() << '\n'; in main()
Dis_object.cpp17 json j_binary = json::binary({1, 2, 3}); in main() local
29 std::cout << j_binary.is_object() << '\n'; in main()
Dis_array.cpp17 json j_binary = json::binary({1, 2, 3}); in main() local
29 std::cout << j_binary.is_array() << '\n'; in main()
Dis_structured.cpp17 json j_binary = json::binary({1, 2, 3}); in main() local
29 std::cout << j_binary.is_structured() << '\n'; in main()
Dis_string.cpp17 json j_binary = json::binary({1, 2, 3}); in main() local
29 std::cout << j_binary.is_string() << '\n'; in main()
Dis_binary.cpp17 json j_binary = json::binary({1, 2, 3}); in main() local
29 std::cout << j_binary.is_binary() << '\n'; in main()
Dis_number_integer.cpp17 json j_binary = json::binary({1, 2, 3}); in main() local
29 std::cout << j_binary.is_number_integer() << '\n'; in main()
/third_party/json/tests/src/
Dunit-cbor.cpp2650 json j_binary; variable
2651 j_binary["binary"] = json::binary({0xCA, 0xFE, 0xBA, 0xBE}, 42);
2654 const auto vec = json::to_cbor(j_binary);