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

Function make_1_dimensional_array_2

examples/src/array_examples.cpp:173–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173void make_1_dimensional_array_2()
174{
175 std::cout << "1 dimensional array 2" <<'\n';
176 json a = json::make_array(10,0);
177 a[1] = 1;
178 a[2] = 2;
179 a[3] = json(json_array_arg);
180 std::cout << pretty_print(a) << '\n';
181}
182
183void make_2_dimensional_array()
184{

Callers 1

mainFunction · 0.85

Calls 2

make_arrayFunction · 0.85
pretty_printFunction · 0.85

Tested by

no test coverage detected