Lines Matching defs:string
56 SECTION("string")
59 CHECK_THROWS_WITH_AS(json::to_bson(j), "[json.exception.type_error.317] to serialize to BSON, top-level type must be object, but is string", json::type_error&);
73 { std::string("en\0try", 6), true }
82 SECTION("string length must be at least 1")
93 CHECK_THROWS_WITH_AS(_ = json::from_bson(v), "[json.exception.parse_error.112] parse error at byte 10: syntax error while parsing BSON string: string length must be at least 1, is -2147483648", json::parse_error&);
188 SECTION("non-empty object with string")
198 0x02, /// entry: string (UTF-8)
539 {"object", {{ "string", "value" }}}
597 {"object", {{ "string", "value" }}}
629 SECTION("std::string")
631 std::string s;
675 bool number_float(json::number_float_t /*unused*/, const std::string& /*unused*/)
680 bool string(std::string& /*unused*/)
695 bool key(std::string& /*unused*/)
715 bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/, const json::exception& /*unused*/) // NOLINT(readability-convert-member-functions-to-static)
1217 for (std::string filename :