CLI to output JSON
Analysis
Summary
CLI to display ModelNode with JSON syntax.
Requirements
Offer the ability to configure CLI to display JSON instead of DMR syntax, DMR syntax being the default.
Design Notes
Add a new --output-json CLI option and XML element <output-json>true/false</output-json> in order to make CLI to display DMR content with JSON syntax. By default toString representation of ModelNode is displayed.
The impacted commands are:
- All low level operations
- echo-dmr command
- run-batch --verbose
General
Product Issue(s)
https://issues.jboss.org/browse/EAP7-824
https://issues.jboss.org/browse/PRODMGT-1145
[WFCORE-3363] CLI to output JSON - JBoss Issue Tracker
Developer Contacts
Jean-François Denise (jdenise@redhat.com)
Comments