104105106107108109110111112113114
public String toString() { if (jsop == null) { JsopBuilder w = new JsopBuilder(); w.array(); for (String e : list) { w.encodedValue(e); } w.endArray(); jsop = w.toString(); start = 0; }
355356357358359360361362363364365
@Override String asDiff() { JsopBuilder diff = new JsopBuilder(); diff.tag('^').key(PathUtils.concat(nodePath, propName)); if (propValue != null) { diff.encodedValue(propValue); } else { diff.value(null); } return diff.toString(); }
364365366367368369370371372373374
125126127128129130131132133134135
buffer(path, diff); } else { String value = t.readRawValue().trim(); JsopWriter diff = new JsopBuilder(); diff.tag('+').key(path); diff.encodedValue(value); buffer(path, diff); } break; case '-': { JsopWriter diff = new JsopBuilder();
580581582583584585586587588589590
boolean inline = true; if (id != null && !id.isInline()) { String nodeId = map.formatId(id); if (nodeId != null) { inline = false; json.encodedValue(nodeId).tag('='); } } json.object(); String[] pv = propertyValuePairs; if (pv != null) {
575576577578579580581582583584585
135136137138139140141142143144145