311{
313 data["type"] = "NodeEditorData";
314 data["serializer"] = "Node Serializer v2.0";
316
317 for (auto &it : nodes)
318 {
319 if(it.second->name != "Output")
320 {
321 tmp.
push_back(it.second->SaveInternal());
322 }
323 }
324
325 data["nodes"] = tmp;
327
328 for (auto &it : links)
329 {
331 }
332
333 data["links"] = tmp;
334 data["uidSeed"] = GenerateUID();
335 return data;
336}
void push_back(basic_json &&val)
add an object to an array
a class to store JSON values
basic_json<> json
default JSON class