The libxo library allows an application to generate text, XML, JSON, and HTML output using a common set of function calls. The application decides at run time which output style should be produced.
Junos modules for Ansible
Python version of Junos Snapshot Administrator