/third_party/json/docs/examples/ |
D | erase__IteratorType_IteratorType.cpp | 14 json j_string = "Hello, world"; in main() local 22 j_string.erase(j_string.begin(), j_string.end()); in main() 30 std::cout << j_string << '\n'; in main()
|
D | erase__IteratorType.cpp | 14 json j_string = "Hello, world"; in main() local 22 j_string.erase(j_string.begin()); in main() 30 std::cout << j_string << '\n'; in main()
|
D | clear.cpp | 15 json j_string = "Hello, world"; in main() local 24 j_string.clear(); in main() 33 std::cout << j_string << '\n'; in main()
|
D | type_name.cpp | 16 json j_string = "Hello, world"; in main() local 26 std::cout << j_string << " is a " << j_string.type_name() << '\n'; in main()
|
D | dump.cpp | 11 json j_string = "Hellö !"; in main() local 29 << j_string.dump() << '\n' in main() 30 << j_string.dump(-1, ' ', true) << '\n'; in main()
|
D | max_size.cpp | 15 json j_string = "Hello, world"; in main() local 24 std::cout << j_string.max_size() << '\n'; in main()
|
D | front.cpp | 17 json j_string = "Hello, world"; in main() local 28 std::cout << j_string.front() << '\n'; in main()
|
D | basic_json__value_t.cpp | 15 json j_string(json::value_t::string); in main() local 24 std::cout << j_string << '\n'; in main()
|
D | back.cpp | 16 json j_string = "Hello, world"; in main() local 26 std::cout << j_string.back() << '\n'; in main()
|
D | is_number_unsigned.cpp | 16 json j_string = "Hello, world"; in main() local 28 std::cout << j_string.is_number_unsigned() << '\n'; in main()
|
D | is_array.cpp | 16 json j_string = "Hello, world"; in main() local 28 std::cout << j_string.is_array() << '\n'; in main()
|
D | is_number.cpp | 16 json j_string = "Hello, world"; in main() local 28 std::cout << j_string.is_number() << '\n'; in main()
|
D | is_discarded.cpp | 16 json j_string = "Hello, world"; in main() local 28 std::cout << j_string.is_discarded() << '\n'; in main()
|
D | is_binary.cpp | 16 json j_string = "Hello, world"; in main() local 28 std::cout << j_string.is_binary() << '\n'; in main()
|
D | is_null.cpp | 16 json j_string = "Hello, world"; in main() local 28 std::cout << j_string.is_null() << '\n'; in main()
|
D | is_boolean.cpp | 16 json j_string = "Hello, world"; in main() local 28 std::cout << j_string.is_boolean() << '\n'; in main()
|
D | is_primitive.cpp | 16 json j_string = "Hello, world"; in main() local 28 std::cout << j_string.is_primitive() << '\n'; in main()
|
D | size.cpp | 17 json j_string = "Hello, world"; in main() local 28 std::cout << j_string.size() << '\n'; in main()
|
D | is_string.cpp | 16 json j_string = "Hello, world"; in main() local 28 std::cout << j_string.is_string() << '\n'; in main()
|
D | is_number_integer.cpp | 16 json j_string = "Hello, world"; in main() local 28 std::cout << j_string.is_number_integer() << '\n'; in main()
|
D | is_structured.cpp | 16 json j_string = "Hello, world"; in main() local 28 std::cout << j_string.is_structured() << '\n'; in main()
|
D | is_object.cpp | 16 json j_string = "Hello, world"; in main() local 28 std::cout << j_string.is_object() << '\n'; in main()
|
D | is_number_float.cpp | 16 json j_string = "Hello, world"; in main() local 28 std::cout << j_string.is_number_float() << '\n'; in main()
|
D | empty.cpp | 17 json j_string = "Hello, world"; in main() local 29 std::cout << j_string.empty() << '\n'; in main()
|
D | type.cpp | 16 json j_string = "Hello, world"; in main() local 27 std::cout << (j_string.type() == json::value_t::string) << '\n'; in main()
|