XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0_WD01
    • Fix Version/s: V4.0_WD01
    • Component/s: JSON Format
    • Labels:
      None
    • Environment:

      [Proposed]

      Description

      The current revision of [OData JSON Format Version 4.0](https://www.oasis-open.org/committees/download.php/48525/odata-json-format-v4.0-wd01-2013-03-12-RH.doc) has some syntax errors in sample JSON shown.
      I think we should correct this before going into CSD01.

      One place:is section 4.5 where the JSON has entries in the array of "values" that are missing a comma (all three key maps after the value of the key "kind".

      Another place is 4.9.2 where I think that a trailing comma is an error (after the last map entry here "Employees (6)"

      Same in 4.11 (but there maybe an elipsis on an extra line below the last entry line with trailing comma might be more adequate as primitive value representations are the topic of the sample there.

      In 4.17 "CompanyName@com.contoso.display" :

      { "title" : true, "order" : 1 }

      should get a comma, whilst "Orders@com.contoso.purchaseorder.priority" : 1, at the end should lose it.

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              sdrees Stefan Hagen
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: