XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.19.0
    • None

    Description

      ```
      JSON_PRETTY(json_doc)
      ```

      Returns the pretty formatted JSON document. Returns `NULL` if any argument is `NULL` or if JSON document is invalid.

      Example Sql:

      ```sql
      SELECT JSON_PRETTY(v) AS c1
      FROM (VALUES ('

      {"a": [10, true],"b": [10, true]}

      ')) as t(v)
      limit 10
      ```

      Result:

      c1

      { "a" : [ 10, true ], "b" : [ 10, true ] }

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ritesh.kapoor Ritesh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m