
SE Radio 570: Stanisław Barzowski on the jsonnet Language
Software Engineering Radio - the podcast for professional software developers
00:00
JSONet's Object Oriented Feature
Mix in is just an object which expects to be used to overwrite another object. So for example it might add an additional field. It's possible to both add and change things with a mix in. You can either add new fields or overwrite existing ones. One style of writing JSONet is to combine a bunch of mix in each of these mix in is responsible for one aspect of configuration. Then you can just use the operator plus to combine this into your final configuration.
Transcript
Play full episode