1
0
dust/examples/jq_data.ds

13 lines
214 B
Plaintext
Raw Normal View History

2023-10-24 00:45:47 +00:00
data = (from_json (read 'examples/assets/jq_data.json'))
2023-11-16 07:11:47 +00:00
new_data = [];
for commit_data in data {
2023-11-28 16:01:38 +00:00
new_data += {
2023-10-24 00:45:47 +00:00
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