Lines Matching refs:bson
770 CHECK(!json::sax_parse(incomplete_bson, &scp, json::input_format_t::bson));
788 CHECK(!json::sax_parse(incomplete_bson, &scp, json::input_format_t::bson));
812 CHECK(!json::sax_parse(incomplete_bson, &scp, json::input_format_t::bson));
829 CHECK(!json::sax_parse(incomplete_bson, &scp, json::input_format_t::bson));
839 CHECK(!json::sax_parse(bson_vec, &scp, json::input_format_t::bson));
850 CHECK(!json::sax_parse(bson_vec, &scp, json::input_format_t::bson));
876 std::vector<std::uint8_t> bson = variable
885 CHECK_THROWS_AS(_ = json::from_bson(bson), json::parse_error&);
886 CHECK_THROWS_WITH(_ = json::from_bson(bson),
888 CHECK(json::from_bson(bson, true, false).is_discarded());
891 CHECK(!json::sax_parse(bson, &scp, json::input_format_t::bson));
945 const auto bson = json::to_bson(j); variable
946 CHECK(bson == expected_bson);
948 auto j_roundtrip = json::from_bson(bson);
952 CHECK(json::from_bson(bson, true, false) == j);
1013 const auto bson = json::to_bson(j); variable
1014 CHECK(bson == expected_bson);
1016 auto j_roundtrip = json::from_bson(bson);
1020 CHECK(json::from_bson(bson, true, false) == j);
1070 const auto bson = json::to_bson(j); variable
1071 CHECK(bson == expected_bson);
1073 auto j_roundtrip = json::from_bson(bson);
1077 CHECK(json::from_bson(bson, true, false) == j);
1127 const auto bson = json::to_bson(j); variable
1128 CHECK(bson == expected_bson);
1130 auto j_roundtrip = json::from_bson(bson);
1135 CHECK(json::from_bson(bson, true, false) == j);
1186 const auto bson = json::to_bson(j); variable
1187 CHECK(bson == expected_bson);
1189 auto j_roundtrip = json::from_bson(bson);
1194 CHECK(json::from_bson(bson, true, false) == j);