Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1559

Convert example models to stricter JSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.11.0
    • Component/s: None
    • Labels:
      None

      Description

      The JSON models in the source code (some of which are used as examples, some as test cases, some both) are mostly non-strict JSON:

      • attribute names are not quoted,
      • strings are often quoted using single-quotes,
      • double-quotes in single-quoted strings are not escaped,
      • there are comments.

      We support non-strict JSON but we would prefer that people start using strict JSON, so let's set an example. We cannot yet remove comments (they help make the examples easier to understand, and we include the Apache header as a comment) but we can fix the others.

        Activity

        Show
        julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/b0362231 .
        Hide
        julianhyde Julian Hyde added a comment -

        Resolved in release 1.11.0 (2017-01-11).

        Show
        julianhyde Julian Hyde added a comment - Resolved in release 1.11.0 (2017-01-11).

          People

          • Assignee:
            julianhyde Julian Hyde
            Reporter:
            julianhyde Julian Hyde
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development