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] (ODATA-589) Add a JSON version of the Metadata document


    [ https://issues.oasis-open.org/browse/ODATA-589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=36719#comment-36719 ] 

Ralf Handl edited comment on ODATA-589 at 10/1/14 4:23 PM:
-----------------------------------------------------------

I've created an XSL transformation that converts V4 CSDL documents into a proposed "static" JSON format form $metadata:

https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/examples/V4-CSDL-to-JSON.xsl

Example results corresponding to the CSDL examples in Part 3, sections 16.1 and 16.2 are:
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/examples/csdl-16.1.json
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/examples/csdl-16.2.json
created from
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/examples/csdl-16.1.xml
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/examples/csdl-16.2.xml

A more sophisticated example:
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/examples/ExampleService.json
created from
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/examples/ExampleService.edmx

And an example with every construct I could think of:
https://tools.oasis-open.org/version-https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/examples/miscellaneous.json
created from
control/browse/wsvn/odata/trunk/spec/examples/miscellaneous.xml


was (Author: ralfhandl):
I've created an XSL transformation that converts V4 CSDL documents into a proposed "static" JSON format form $metadata:

https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/examples/V4-CSDL-to-JSON.xsl

Example results corresponding to the CSDL examples in Part 3, sections 16.1 and 16.2 are:
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/examples/csdl-16.1.json
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/examples/csdl-16.2.json
created from
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/examples/csdl-16.1.xml
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/examples/csdl-16.2.xml

A more sophisticated example:
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/examples/ExampleService.json
created from
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/examples/ExampleService.edmx

> Add a JSON version of the Metadata document
> -------------------------------------------
>
>                 Key: ODATA-589
>                 URL: https://issues.oasis-open.org/browse/ODATA-589
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: New Feature
>          Components: OData CSDL
>    Affects Versions: V4.1_WD01
>            Reporter: Matthew Borges
>             Fix For: V4.1_WD01
>
>
> Add a JSON version of the CSDL and metadata document.  This seems like a natural feature to support since all other responses (including the metadata service responses) can be formatted using JSON.



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


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