1 2 3 4 5 6 7 8 9 10 11 12
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