minus-square4wd@programming.devtoProgramming@programming.dev•What is the best way to store data for exceptional cases among nested objects in arrays in JSON?linkfedilinkarrow-up0·9 months agoWhat about using enums? In this case you will have to specify them for all records, but this ensures that the field will always be present. enum license_owner { regular_citizen = 0, embassy, government, ... } linkfedilink
minus-square4wd@programming.devtoLinux@programming.dev•Systemd wants to expand to include a sudo replacementlinkfedilinkarrow-up0·10 months agoThe main problem with sudo and doas is that they are not developed by Lennart. Seriously. linkfedilink
What about using enums? In this case you will have to specify them for all records, but this ensures that the field will always be present.
enum license_owner { regular_citizen = 0, embassy, government, ... }