Validation

Why didn't I use YANG? A …

After my presentation on JSON freedom or chaos: how to trust your data, someone in the audience asked: “Why didn’t you use YANG instead?”

It caught me off guard. I had never considered it. Isn’t YANG about modeling network device configurations?

A decision shaped by context

A …

Pydantic series

The focus in this blog is on validation, as well as being able to return the same output as we got the input. Which is a json format. As an example, when parsing an IP address as a string, the output value should be a string again and not an ipaddress object. Or the MAC address which needs to retain …