Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-217

JSON response should be pretty printed

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • 2.1.3
    • None
    • None

      The JSON returned by the delivery endpoint has been 'minified' by removing all whitespace and line break characters.

      The advantage of slightly smaller filesize is outweighed by the disadvantage of being harder to inspect and work with as a developer.

      The default behaviour should be to output the response with nice indentation and line breaks (often referred to as 'pretty printed'). (Our competitors do this.)

      Consider adding a short parameter which would cause the output to be minified.

        Acceptance criteria

              Unassigned Unassigned
              czimmermann Christopher Zimmermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:

                  Task DoD