libxo

Library for generating text, XML, JSON, and HTML output

brewmacoslinux
Try with needOr install directly
Source

About

Allows an application to generate text, XML, JSON, and HTML output

Commands

xo

Examples

Convert command output to JSON format$ some-command | xo -J
Generate XML output from application data$ xo -X -n root
Display help and available output format options$ xo --help