Gliffy |
---|
imageAttachmentId | att88015679 |
---|
macroId | e78a49e5-51f6-422b-bcae-ea3d11370a7b |
---|
baseUrl | https://lf-onap.atlassian.net/wiki |
---|
displayName | Flattening of JSON |
---|
name | Flattening of JSON |
---|
diagramAttachmentId | att87982674 |
---|
containerId | 79822969 |
---|
version | 3 |
---|
|
Grouping of create
and remove
operations in delta report is fairly straightforward because the two do not lead to complex scenarios. If a data node is added all its child nodes are also added, same applies in case of remove operation where if a parent node is removed all its child nodes are also removed. Similarly, operations on parent-child nodes like create+update, create+remove, remove+update
and remove+create
are not possible because if a parent is added or removed the child cannot be added, removed or updated. Hence, the grouping of data nodes which are either added or removed is simpler.
...
Expand |
---|
Source Data | Target Data |
---|
Code Block |
---|
[
{
"parent": {
"leaf-1": "leaf-1 data",
"leaf-2": "leaf-2 data",
"child": {
"child-1 data": "child-1 data",
"child-2 data": "child-2 data"
}
}
}
] |
| Code Block |
---|
| [
{
"parent": {
"leaf-1": "leaf-1 data",
"leaf-2": "leaf-2 updated data",
"child": {
"child-1 data": "child-1 updated data",
"child-2 data": "child-2 data"
}
}
}
] |
|
|
Mechanism for comparison
Gliffy |
---|
baseUrl | https://lf-onap.atlassian.net/wiki |
---|
name | Flattening of JSON |
---|
pageid | 79822969 |
---|
timestamp | 1735206010231 |
---|
|
Gliffy |
---|
imageAttachmentId | att84869188 |
---|
macroId | 9449afce-5ab1-4b5a-bf40-dc0ba2d2b5d5 |
---|
baseUrl | https://lf-onap.atlassian.net/wiki |
---|
displayName | Flowchart of replace operation in Delta Frature |
---|
name | Update Flowchart |
---|
diagramAttachmentId | att84901971 |
---|
containerId | 79822969 |
---|
version | 13 |
---|
timestamp | 1734600420506 |
---|
|
...