Handling JSON comments - 2018-May Core Norm Infrastructure #168

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive with Modification
    • Priority: Medium
    • FHIR Core (FHIR)
    • STU3
    • FHIR Infrastructure
    • JSON
    • 2.6.2
    • Hide

      modify comment to note that // is legal in javascript, but not in JSON instances. a _comment might or might not be ignored, but it would not be valid. Wd did used to define an element for this but it was removed based on strong objections from ITS work group

      Show
      modify comment to note that // is legal in javascript, but not in JSON instances. a _comment might or might not be ignored, but it would not be valid. Wd did used to define an element for this but it was removed based on strong objections from ITS work group
    • Grahame Grieve/Rick Geimer: 9-0-0
    • Clarification
    • Non-substantive
    • STU3

      Existing Wording: In this format, // is used for comments but these can't be in the JSON instances

      Proposed Wording: // comments are allowed in JavaScript, but not allowed in JSON files/instances.

      Comment:

      Is there an alternative to commenting data? For example, could I include a "_comment" property, and expect that it be ignored by processors?

      Summary:

      Handling JSON comments

            Assignee:
            Unassigned
            Reporter:
            Sean McIlvenna
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: