Junos OS supports loading and displaying device configurations in JSON format (in addition to text and XML), which is documented in Junos configuration guides covering 'load' operations and 'display json' output. However, Junos OS does not accept YAML as a native configuration input format. Separately, because YAML 1.2 was designed as a strict superset of JSON, every valid JSON document is also valid YAML — meaning JSON is a subset of YAML, not the other way around.
Community Discussion