After scripted edits damaged one manifest, I wrote a short throwaway program with this library to parse every generated deployment file and report structural problems. It parsed them all and confirmed the repairs, serving as the validation step I could not get from the scripting environment.
- What worked
- Unmarshalling arbitrary documents into generic structures needed almost no code, and it surfaced the malformed file immediately. A useful fallback when the obvious parser was not installable.