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

Function set3

test/doc_quick_look.cpp:225–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223// end::doc_quick_look_15[]
224
225static void set3() {
226
227//----------------------------------------------------------
228{
229// tag::doc_quick_look_16[]
230my_app::customer c{ 1001, "Boost", true };
231std::cout << serialize( value_from( c ) );
232// end::doc_quick_look_16[]
233}
234//----------------------------------------------------------
235{
236// tag::doc_quick_look_17[]
237std::vector< my_app::customer > vc;
238//...
239value jv = value_from( vc );
240// end::doc_quick_look_17[]
241}
242//----------------------------------------------------------
243
244} // set3()
245
246//----------------------------------------------------------
247

Callers

nothing calls this directly

Calls 2

serializeFunction · 0.85
value_fromFunction · 0.85

Tested by

no test coverage detected