|
PM-1950 Format
|
updateDescription: {
|
updatedFields: {"obj.sub.obj.d.o.t.t.e.d.a.r.r.a.y...0.0.1.a.b.c": 2},
|
removedFields: [],
|
truncatedArrays: [{field: "obj.sub.obj.d.o.t.t.e.d.a.r.r.a.y...0", newSize: 1}],
|
specialFields: {
|
arrayIndices: {
|
"obj.sub.obj.d.o.t.t.e.d.a.r.r.a.y..": [0],
|
"obj.sub.obj.d.o.t.t.e.d.a.r.r.a.y...0": [0]
|
},
|
dottedFields: {
|
"obj.sub.obj.d.o.t.t.e.d.a.r.r.a.y...0.0.1.a": ["b.c"],
|
"obj.sub.obj": ["d.o.t.t.e.d.a.r.r.a.y.."],
|
obj: ["sub.obj"]
|
}
|
}
|
}
|
|
Proposed New Format
|
updateDescription: {
|
updatedFields: {"obj.sub.obj.d.o.t.t.e.d.a.r.r.a.y...0.0.1.a.b.c": 2},
|
removedFields: [],
|
truncatedArrays: [{field: "obj.sub.obj.d.o.t.t.e.d.a.r.r.a.y...0", newSize: 1}],
|
disambiguatedPaths: {
|
// Note that the 0 array indexes are captured as ints, the non-array fieldname "1" is a string
|
"obj.sub.obj.d.o.t.t.e.d.a.r.r.a.y...0.0.1.a.b.c": ["obj", "sub.obj", "d.o.t.t.e.d.a.r.r.a.y..", 0, 0, "1", "a", "b.c"],
|
"obj.sub.obj.d.o.t.t.e.d.a.r.r.a.y...0": ["obj", "sub.obj", "d.o.t.t.e.d.a.r.r.a.y..", 0]
|
}
|
}
|
|