Lines Matching defs:string
48 bool number_float(json::number_float_t /*unused*/, const std::string& /*unused*/)
53 bool string(std::string& /*unused*/)
68 bool key(std::string& /*unused*/)
88 bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/, const json::exception& /*unused*/) // NOLINT(readability-convert-member-functions-to-static)
783 // error while parsing string
813 SECTION("string")
821 // create JSON value with string containing of N * 'x'
822 const auto s = std::string(N, 'x');
857 // create JSON value with string containing of N * 'x'
858 const auto s = std::string(N, 'x');
893 // create JSON value with string containing of N * 'x'
894 const auto s = std::string(N, 'x');
897 // create expected byte vector (hack: create string first)
927 // create JSON value with string containing of N * 'x'
928 const auto s = std::string(N, 'x');
931 // create expected byte vector (hack: create string first)
1662 // create a single-character string for all number types
1669 // check if string is parsed correctly to "a"
1744 CHECK(json::to_ubjson(json::from_ubjson(v_C), true) == v_S); // char is serialized to string
1790 CHECK(json::to_ubjson(json::from_ubjson(v_C), true, true) == v_S); // char is serialized to string
1833 CHECK_THROWS_WITH_AS(_ = json::from_ubjson(v), "[json.exception.parse_error.113] parse error at byte 2: syntax error while parsing UBJSON string: expected length type specification (U, i, I, l, L); last byte: 0x31", json::parse_error&);
1855 CHECK_THROWS_WITH_AS(_ = json::from_ubjson(v), "[json.exception.parse_error.110] parse error at byte 5: syntax error while parsing UBJSON string: unexpected end of input", json::parse_error&);
2406 for (std::string filename :