import json p='.scratch/cockpit-real-data-wayfinding/verify/artifacts/t67/geo-ev-analysis-none.json' with open(p,encoding='utf-8') as f: d=json.load(f) data=d['data'] for dim in data['dimensions']: print(dim['dimensionCode'], '|', dim.get('dimensionLabel'), '| total', dim.get('totalCount')) for b in dim.get('buckets',[]): print(' ', b.get('bucketCode'), '|', b.get('bucketLabel'), '|', b.get('count'), '|', b.get('percentage')) print() print('filters:', json.dumps(data.get('filters'), ensure_ascii=False))