106107108109110111112113114115116
json.writeKey("columnDefs"); json.startArray(); for(ColDef colDef: getColDefs()) { writeColDef(json, colDef); } json.endArray(); json.writeKey("traces"); json.startArray(); for(TreeNode n: getData()) { writeDataNode(json, n);
113114115116117118119120121122123
json.writeKey("traces"); json.startArray(); for(TreeNode n: getData()) { writeDataNode(json, n); } json.endArray(); json.endObject(); } private void writeColDef(AJsonSerHelper json, ColDef colDef) throws IOException {
107108109110111112113114115116117
114115116117118119120121122123124
6465666768697071727374
ser.writeKey("traces"); ser.startArray(); for(AHierarchicalDataRoot trace: traces) { writeTraceRoot(ser, trace); } ser.endArray(); ser.writeKey("scalars"); ser.startArray(); for(AScalarDataPoint scalar: scalarData) { writeScalar(ser, scalar);
7172737475767778798081
ser.writeKey("scalars"); ser.startArray(); for(AScalarDataPoint scalar: scalarData) { writeScalar(ser, scalar); } ser.endArray(); ser.endObject(); } private void writeTraceRoot(AJsonSerHelper ser, AHierarchicalDataRoot trace) throws IOException {
104105106107108109110111112113114
json.writeKey("menuEntries"); json.startArray(); for(APresentationMenuEntry menuEntry: config.presentationMenuEntries) { writeMenuEntry(menuEntry, json); } json.endArray(); json.endObject(); out.println(");"); }