Skip to content
Advertisement

Tag: microsoft-graph-api

Filter null values from JSON

I receive the following JSON from the MS Graph API: How can I filter the null values using Python (3.9) ? Answer First of all, processing it is easier when it’s been converted to python data structure, such as a dict. The built-in json module can convert a json-string into python objects using json.loads. You can create a new dictionary

Advertisement