Description Usage Arguments Details Value Examples
Align the two JSON lists by specifying the primary path(keys), to support the left/inner/right-join style comparison.
1 | alignj(json_new, json_old, sep = "@", primary)
|
json_new |
|
json_old |
|
sep |
|
primary |
|
The function borrows the idea from the data set operation, and the result contains:
new
, contains the flattening result of json_new
.
old
, contains the flattening result of json_old
.
common_primary
, contains the primary paths both in json_new
and json_old
.
new_primary
, contains the primary paths only in json_new
.
old_primary
, contains the primary paths only in json_old
.
list
. The result list contains the alignment information of three types: the primary paths only in the new JSON,
only in the old JSON, and in both.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.