189
189
(*json_array)[i] = *data; // json copies memory but not path
190
190
JsonWrapper::Path::SetPath((*json_array)[i], GetPath(path, i));
191
191
delete data; // so we need to clean up here
193
193
// if there's a problem, clean up before rethrowing the exception