Lines Matching defs:string
52 bool number_float(json::number_float_t /*unused*/, const std::string& /*unused*/)
57 bool string(std::string& /*unused*/)
72 bool key(std::string& /*unused*/)
92 bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/, const json::exception& /*unused*/) // NOLINT(readability-convert-member-functions-to-static)
806 SECTION("string")
823 // create JSON value with string containing of N * 'x'
824 const auto s = std::string(N, 'x');
860 // create JSON value with string containing of N * 'x'
861 const auto s = std::string(N, 'x');
895 // create JSON value with string containing of N * 'x'
896 const auto s = std::string(N, 'x');
899 // create expected byte vector (hack: create string first)
928 // create JSON value with string containing of N * 'x'
929 const auto s = std::string(N, 'x');
932 // create expected byte vector (hack: create string first)
1225 // create JSON value with string containing of N * 'x'
1231 // create expected byte vector (hack: create string first)
1261 // create JSON value with string containing of N * 'x'
1267 // create expected byte vector (hack: create string first)
1337 // create JSON value with string containing of N * 'x'
1341 // create expected byte vector (hack: create string first)
1370 // create JSON value with string containing of N * 'x'
1374 // create expected byte vector (hack: create string first)
1419 "[json.exception.parse_error.110] parse error at byte 2: syntax error while parsing MessagePack string: unexpected end of input", json::parse_error&);
1451 "[json.exception.parse_error.110] parse error at byte 4: syntax error while parsing MessagePack string: unexpected end of input", json::parse_error&);
1505 SECTION("invalid string in map")
1508 CHECK_THROWS_WITH_AS(_ = json::from_msgpack(std::vector<uint8_t>({0x81, 0xff, 0x01})), "[json.exception.parse_error.113] parse error at byte 2: syntax error while parsing MessagePack string: expected length specification (0xA0-0xBF, 0xD9-0xDB); last byte: 0xFF", json::parse_error&);
1560 std::string filename = TEST_DATA_DIRECTORY "/json_testsuite/sample.json";
1584 SECTION("std::string")
1586 std::string s;
1604 std::set<std::string> exclude_packed;
1620 for (std::string filename :
1669 TEST_DATA_DIRECTORY "/nst_json_testsuite/test_parsing/y_array_empty-string.json",