I’m scraping information from a website, assigning them to a variable and then exporting it as an argument to then write as a JSON file (all this is new to me!). In some instances, the scraped values can be missing and in these instances I need to write null on the JSON file.
Is there an easy way that I can make it so ‘null’ is written if the value is blank?