1
0
dust/examples/jq_data.ds
2024-01-04 20:54:22 -05:00

18 lines
274 B
Plaintext

data = json:parse(fs:read('examples/assets/jq_data.json'))
MyData = struct {
message <str>
name <str>
}
data_list = []
for commit_data in data {
new_data += new MyData {
message = commit_data:commit:message
name = commit_data:commit:committer:name
}
}
new_data