Lines Matching defs:str
1512 string_t str = "default";
1524 CHECK(j.value("foo", str) == "bar");
1540 CHECK_THROWS_WITH_AS(Json().value("foo", str), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&);
1552 CHECK(j.value(key, str) == "bar");
1565 CHECK_THROWS_WITH_AS(Json().value(key, str), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&);
1577 CHECK(j.value(key, str) == "bar");
1590 CHECK_THROWS_WITH_AS(Json().value(key, str), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&);
1602 CHECK(j.value(key, str) == "bar");
1615 CHECK_THROWS_WITH_AS(Json().value(key, str), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&);
1628 CHECK(j.value(key, str) == "bar");
1641 CHECK_THROWS_WITH_AS(Json().value(key, str), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&);
1653 CHECK(j.template value<string_t>("foo", str) == "bar");
1670 CHECK_THROWS_WITH_AS(Json().template value<string_t>("foo", str), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&);
1682 CHECK(j.template value<string_t>(key, str) == "bar");
1699 CHECK_THROWS_WITH_AS(Json().template value<string_t>(key, str), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&);
1711 CHECK(j.template value<string_t>(key, str) == "bar");
1728 CHECK_THROWS_WITH_AS(Json().template value<string_t>(key, str), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&);
1740 CHECK(j.template value<string_t>(key, str) == "bar");
1753 CHECK_THROWS_WITH_AS(Json().template value<string_t>(key, str), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&);
1766 CHECK(j.template value<string_t>(key, str) == "bar");
1785 CHECK(j.template value<std::string_view>(key, str) == "bar");
1790 CHECK_THROWS_WITH_AS(Json().template value<string_t>(key, str), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&);