Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-477

Add trailing newline to formatted JSON output

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Done
    • Helium
    • None
    • restconf
    • None
    • Operating System: Linux
      Platform: PC

    Description

      Currently there's no trailing newline to formatted JSON output. This can be annoying when using command-line tools to interact with the REST API.

      Though there's also something to be said for not pretty-printing the output by default also since this increases the size of the messages.

      Workaround is something like feeding the output into a JSON formatter such as python -mjson.tool.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              jgloncak Jozef Gloncak
              readams Rob Adams
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: