OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] Created: (ODATA-300) Valid Syntax in JSON samples


Valid Syntax in JSON samples
----------------------------

                 Key: ODATA-300
                 URL: http://tools.oasis-open.org/issues/browse/ODATA-300
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: OData JSON Format
    Affects Versions: V4.0_WD01
            Reporter: Stefan Drees
            Priority: Minor
             Fix For: V4.0_WD01


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 thik 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.

 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]