During some coding work for my day job, I require a way to validate the format (or schema) for some JSON data. If you need a quick refresh, what JSON is and how to work with it in python, take a look at one of my earlier posts about python dictionaries and JSON. As an additional requirement, the validation step should include default data for certain keys that are not found in the original data.
Today I’d like to show you a quick introduction to the ipaddress module that is part of the python 3. The code examples are part of a Jupyter notebook, as already announced in my last post.