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

Function set4

test/doc_quick_look.cpp:294–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292//----------------------------------------------------------
293
294static void set4() {
295using namespace my_app;
296
297//----------------------------------------------------------
298{
299// tag::doc_quick_look_20[]
300json::value jv;
301//...
302customer c( value_to<customer>(jv) );
303// end::doc_quick_look_20[]
304}
305//----------------------------------------------------------
306{
307json::value jv;
308// tag::doc_quick_look_21[]
309std::vector< customer > vc = value_to< std::vector< customer > >( jv );
310// end::doc_quick_look_21[]
311}
312//----------------------------------------------------------
313
314//----------------------------------------------------------
315
316} // set4
317
318class doc_quick_look_test
319{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected