filter json data of get in python site:stackoverflow.com code example Example: json filter python output_dict = [x for x in input_dict if x['type'] == '1']