396397398399400401402403404405406
@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(); }
397398399400401402403404405406407
103104105106107108109110111112113
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; }
581582583584585586587588589590591
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) {
99100101102103104105106107108109
124125126127128129130131132133134
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
125126127128129130131132133134135