Closed
Description
I need to create a JSon array like this for example:
json j;
j.push_back(" { { "objectId" : 0 } , {"transfer_data" : [ {"transfer_id" : 0 } , {"transfer_time" : 57 } ] } } ");
j.push_back(" { { "objectId" : 1 } , {"transfer_data" : [ {"transfer_id" : 1 } , {"transfer_time" : 49 } ] } } ");
But the push_back function only acept initializer list that contains only two elements.