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

JSON response should be pretty printed

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:

                  Checklists

                    Task DoD