13 lines
233 B
Plaintext
13 lines
233 B
Plaintext
data = json:parse(fs:read_file('examples/assets/jq_data.json'))
|
|
|
|
new_data = []
|
|
|
|
for commit_data in data as collection {
|
|
new_data += {
|
|
message = commit_data:commit:message
|
|
name = commit_data:commit:committer:name
|
|
}
|
|
}
|
|
|
|
new_data
|