1
0
dust/examples/jq_data.ds

13 lines
233 B
Plaintext
Raw Permalink Normal View History

2024-01-31 15:18:25 +00:00
data = json:parse(fs:read_file('examples/assets/jq_data.json'))
2023-10-24 00:45:47 +00:00
2023-12-05 21:42:11 +00:00
new_data = []
2023-11-30 14:48:56 +00:00
2024-02-18 21:43:47 +00:00
for commit_data in data as collection {
2023-11-28 16:01:38 +00:00
new_data += {
message = commit_data:commit:message
name = commit_data:commit:committer:name
2023-11-28 16:01:38 +00:00
}
2023-10-24 00:45:47 +00:00
}
2023-11-16 07:11:47 +00:00
new_data