I am looking for an easy solution (preferably with test-script) to clear/delete/hide null values from JSON response. Objective is solely on improved readability of my POST responses, as I am dealing with +1500 lines of which 30% are empty fields.
Response will not be further used in in subsequent requests, hence no attention to syntax required.
Thank you so much - I have been browsing the google for many hours and have not found any help.
The script works and I can see the response without null values in the console log. Unfortunately the response is displayed in a fully collapsed object structure. It is very inconvenient to analyze the data by expanding each object individually by mouse click.
Is it possible to parse the script (data without null values) in plain JSON code?