This tool uses jq
for JSON transformations. Each line in the quickstatements follows the format:
[Author ID]|[jq transformation]
Yes! You can pass quickstatements via the URL using the statements
parameter. For example:
?statements=OL1234567A|.name%20%3D%20%22New%20Author%20Name%22
Try this example
.name = "New Name"
.alternate_names += ["New Name"]
del(.field_name)
Access nested fields using dot notation:
.remote_ids.wikidata = "Q12345"
del(.remote_ids.wikidata)
There are several ways to modify arrays:
del(.alternate_names[0])
del(.alternate_names[-1])
.alternate_names -= ["Name to Remove"]