filter all key's from a json dict code example
Example 1: filter dict by list of keys python
dict_you_want = { your_key: old_dict[your_key] for your_key in your_keys }
Example 2: filter dict
{k: v for k, v in points.items() if v[0] < 5 and v[1] < 5}