13 lines
213 B
Plaintext
13 lines
213 B
Plaintext
data = (from_json (read 'examples/assets/jq_data.json'))
|
|
|
|
new_data = [];
|
|
|
|
for commit_data in data {
|
|
new_data += {
|
|
message = commit_data.commit.message
|
|
name = commit_data.commit.committer.name
|
|
}
|
|
}
|
|
|
|
new_data
|