Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-16375

Add JSON_NORMALIZE function to normalize JSON values

    XMLWordPrintable

Details

    Description

      Background is this question on stackexchange:

      https://dba.stackexchange.com/questions/208481/mariadb-compare-json

      The task is to provide a function that can be used to compare 2 json documents for equality, then name can be e.g JSON_NORMALIZE

      JSON_COMPACT already takes care of removing spaces, but this is not sufficient.
      Keys need to be (recursively) sorted , and if spaces are removed, then documents can be compared as binary strings.

      Attachments

        Issue Links

          Activity

            People

              cvicentiu Vicențiu Ciorbaru
              wlad Vladislav Vaintroub
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.