MCPcopy Create free account
hub / github.com/danielaparker/jsoncons / main

Function main

examples/src/examples.cpp:276–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276int main()
277{
278 try
279 {
280 std::cout << "jsoncons version: " << version() << '\n';
281
282 first_example_a();
283 first_example_b();
284 first_example_c();
285 first_example_d();
286
287 second_example_a();
288
289 object_range_based_for_loop();
290
291 validation_example();
292
293 get_example();
294 }
295 catch (const std::exception& e)
296 {
297 std::cout << e.what() << '\n';
298 }
299
300 return 0;
301}

Callers

nothing calls this directly

Calls 10

versionFunction · 0.85
first_example_aFunction · 0.85
first_example_bFunction · 0.85
first_example_cFunction · 0.85
first_example_dFunction · 0.85
second_example_aFunction · 0.85
validation_exampleFunction · 0.85
get_exampleFunction · 0.85
whatMethod · 0.45

Tested by

no test coverage detected