Version 2

    CLI to output JSON



    CLI to display ModelNode with JSON syntax.


    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


    Product Issue(s)


    Upstream Issue(s)


    [WFCORE-3363] CLI to output JSON - JBoss Issue Tracker


    Developer Contacts

    Jean-François Denise (