MCPcopy Create free account
hub / github.com/boostorg/json / check_round_trip

Method check_round_trip

test/stream_parser.cpp:345–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343 }
344
345 void
346 static
347 check_round_trip(value const& jv1,
348 const parse_options& po = parse_options())
349 {
350 auto const s2 =
351 //to_string_test(jv1); // use this if serializer is broken
352 serialize(jv1);
353 auto jv2 =
354 from_string_test(s2, {}, po);
355 BOOST_TEST(equal(jv1, jv2));
356 }
357
358 template<class F>
359 void

Callers

nothing calls this directly

Calls 3

parse_optionsClass · 0.85
serializeFunction · 0.85
equalFunction · 0.85

Tested by

no test coverage detected