Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1632

The JsonQueryServlet should support the tidy selector to provide pretty printed results

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Servlets Get 2.0.2, Servlets Get 2.0.4, Servlets Get 2.0.6, Servlets Get 2.0.8
    • Servlets Get 2.1.0
    • Servlets
    • None

    Description

      SLING-562 provided the ability to apply a tidy rendering for the JsonRendererServlet. The same technique would be useful for formatting the results of the JsonQueryServlet.

      For example:

      http://localhost:8888/.query.tidy.json?queryType=xpath&statement=//element(*,nt:unstructured)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            enorman Eric Norman
            enorman Eric Norman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment