Short version
- Public HTTP APIs and browsers: JSON.
- Human-edited ops config with comments: YAML, plus CI validation. Watch implicit types (
NO,off). - Mixed text and attributes, or an existing SOAP world: XML.
HiJSON reads JSON. Convert first, then inspect paths. See the tree view.