You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2017/01/03 07:16:58 UTC

[jira] [Created] (CALCITE-1559) Convert example models to stricter JSON

Julian Hyde created CALCITE-1559:
------------------------------------

             Summary: Convert example models to stricter JSON
                 Key: CALCITE-1559
                 URL: https://issues.apache.org/jira/browse/CALCITE-1559
             Project: Calcite
          Issue Type: Bug
            Reporter: Julian Hyde
            Assignee: Julian Hyde


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)