Home
last modified time | relevance | path

Searched refs:j_string (Results 1 – 25 of 28) sorted by relevance

12

/third_party/json/docs/examples/
Derase__IteratorType_IteratorType.cpp14 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()
Derase__IteratorType.cpp14 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()
Dclear.cpp15 json j_string = "Hello, world"; in main() local
24 j_string.clear(); in main()
33 std::cout << j_string << '\n'; in main()
Dtype_name.cpp16 json j_string = "Hello, world"; in main() local
26 std::cout << j_string << " is a " << j_string.type_name() << '\n'; in main()
Ddump.cpp11 json j_string = "Hellö ��!"; in main() local
29 << j_string.dump() << '\n' in main()
30 << j_string.dump(-1, ' ', true) << '\n'; in main()
Dmax_size.cpp15 json j_string = "Hello, world"; in main() local
24 std::cout << j_string.max_size() << '\n'; in main()
Dfront.cpp17 json j_string = "Hello, world"; in main() local
28 std::cout << j_string.front() << '\n'; in main()
Dbasic_json__value_t.cpp15 json j_string(json::value_t::string); in main() local
24 std::cout << j_string << '\n'; in main()
Dback.cpp16 json j_string = "Hello, world"; in main() local
26 std::cout << j_string.back() << '\n'; in main()
Dis_number_unsigned.cpp16 json j_string = "Hello, world"; in main() local
28 std::cout << j_string.is_number_unsigned() << '\n'; in main()
Dis_array.cpp16 json j_string = "Hello, world"; in main() local
28 std::cout << j_string.is_array() << '\n'; in main()
Dis_number.cpp16 json j_string = "Hello, world"; in main() local
28 std::cout << j_string.is_number() << '\n'; in main()
Dis_discarded.cpp16 json j_string = "Hello, world"; in main() local
28 std::cout << j_string.is_discarded() << '\n'; in main()
Dis_binary.cpp16 json j_string = "Hello, world"; in main() local
28 std::cout << j_string.is_binary() << '\n'; in main()
Dis_null.cpp16 json j_string = "Hello, world"; in main() local
28 std::cout << j_string.is_null() << '\n'; in main()
Dis_boolean.cpp16 json j_string = "Hello, world"; in main() local
28 std::cout << j_string.is_boolean() << '\n'; in main()
Dis_primitive.cpp16 json j_string = "Hello, world"; in main() local
28 std::cout << j_string.is_primitive() << '\n'; in main()
Dsize.cpp17 json j_string = "Hello, world"; in main() local
28 std::cout << j_string.size() << '\n'; in main()
Dis_string.cpp16 json j_string = "Hello, world"; in main() local
28 std::cout << j_string.is_string() << '\n'; in main()
Dis_number_integer.cpp16 json j_string = "Hello, world"; in main() local
28 std::cout << j_string.is_number_integer() << '\n'; in main()
Dis_structured.cpp16 json j_string = "Hello, world"; in main() local
28 std::cout << j_string.is_structured() << '\n'; in main()
Dis_object.cpp16 json j_string = "Hello, world"; in main() local
28 std::cout << j_string.is_object() << '\n'; in main()
Dis_number_float.cpp16 json j_string = "Hello, world"; in main() local
28 std::cout << j_string.is_number_float() << '\n'; in main()
Dempty.cpp17 json j_string = "Hello, world"; in main() local
29 std::cout << j_string.empty() << '\n'; in main()
Dtype.cpp16 json j_string = "Hello, world"; in main() local
27 std::cout << (j_string.type() == json::value_t::string) << '\n'; in main()

12