1
0
dust/examples/jq_data.ds
2024-02-18 16:43:47 -05:00

13 lines
233 B
Plaintext

data = json:parse(fs:read_file('examples/assets/jq_data.json'))
new_data = []
for commit_data in data as collection {
new_data += {
message = commit_data:commit:message
name = commit_data:commit:committer:name
}
}
new_data