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

Function make_1_dimensional_array_1

examples/src/array_examples.cpp:164–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164void make_1_dimensional_array_1()
165{
166 std::cout << "1 dimensional array 1" <<'\n';
167 json a = json::make_array(10);
168 a[1] = 1;
169 a[2] = 2;
170 std::cout << pretty_print(a) << '\n';
171}
172
173void make_1_dimensional_array_2()
174{

Callers 1

mainFunction · 0.85

Calls 2

make_arrayFunction · 0.85
pretty_printFunction · 0.85

Tested by

no test coverage detected