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
|
|
|
|
2023-11-16 07:11:47 +00:00
|
|
|
for commit_data in data {
|
2023-11-28 16:01:38 +00:00
|
|
|
new_data += {
|
2023-12-31 16:46:56 +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
|