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

Convert example models to stricter JSON

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.11.0
    • None
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: