...
 
Commits (1)
This diff is collapsed.
import json
json_file = open('debian-sid-gce-amd64-dev-cloud-team-master-365.build.json')
data = json.load(json_file)
info = data['data']['info']
print('Arch: ' + info['arch'])
print('Img Type: ' + info['type'])
print('Vendor: ' + info['vendor'])
print('Verion: ' + info['version'])
print('Release: ' + info['release'])
for package in data['data']['packages']:
print('Name: ' + package['name'])
print('Version: ' + package['version'])
print('')