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.
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.
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-control/browse/wsvn/odata/trunk/spec/examples/miscellaneous.json
created from
https://tools.oasis-open.org/version-control/browse/wsvn/odata/trunk/spec/examples/miscellaneous.xml