REST JSON Formatted Response

Idea created by Sasikanth Nimmagadda on Oct 23, 2014
    Currently Planned
    Score5
    • Sasikanth Nimmagadda
    • dhara08
    • Monalisa.Nayak
    • RafaelOltra
    • jacsc05

    When we invoke an API using REST step, the JSON response is displayed in a single line. (unformatted)

     

    It would be useful to have the option to "Right Click" >> "Format JSON"  ( similar to Format XML / Read only Text ).

     

     

    Current State :

    { "glossary": { "title": "example glossary", "GlossDiv": { "title": "S", "GlossList": { "GlossEntry": { "ID": "SGML", "SortAs": "SGML", "GlossTerm": "Standard Generalized Markup Language", "Acronym": "SGML", "Abbrev": "ISO 8879:1986", "GlossDef": { "para": "A meta-markup language, used to create markup languages such as DocBook.", "GlossSeeAlso": ["GML", "XML"] }, "GlossSee": "markup" } } } } }

     

     

    Future state requested:

    {

           "glossary": {
                 "title": "example glossary",

     

                "GlossDiv": {

                     "title": "S",

                     "GlossList": {

                          "GlossEntry": {

                               "ID": "SGML",

                               "SortAs": "SGML",

                               "GlossTerm": "Standard Generalized Markup Language",

                               "Acronym": "SGML",

                               "Abbrev": "ISO 8879:1986",

                               "GlossDef": {

                                    "para": "A meta-markup language, used to create markup languages such as DocBook.",

                                    "GlossSeeAlso": ["GML",

                                    "XML"]

                                },

                               "GlossSee": "markup"

                          }

                     }

           }

    }