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] Commented: (ODATA-270) Collections of Edm.PrimitiveType are problematic in JSON

    [ http://tools.oasis-open.org/issues/browse/ODATA-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32389#action_32389 ] 

Ralf Handl commented on ODATA-270:

I think we have to explicitly state where these abstract types MUST be supported now, and explicitly state that they MAY be allowed in further places in later versions.

> Collections of Edm.PrimitiveType are problematic in JSON
> --------------------------------------------------------
>                 Key: ODATA-270
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-270
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: OData JSON Format v1.0, OData Protocol v1.0
>    Affects Versions: WD01
>            Reporter: Michael Pizzo
>             Fix For: WD01
> In adding Edm.Primitive as a type specifying "any primitive type" we introduced a problem for JSON. We have no way to annotate individual elements of a JSON array, so we have no way of specifying the types of a heterogeneous collection of primitive types. In some cases these might be heuristically determined, but not all. We might consider disallowing collections of Edm.Primitive as being underspecified. In the future it would be non-breaking to add these as long as we solved the primitive types in a json array problem.

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]