[oslc-core] Draft: UI Preview with JSON-LD

Samuel Padgett spadgett at us.ibm.com
Thu Oct 17 14:18:36 EDT 2013



I've updated the UI Preview V3 draft [1] to use JSON-LD for the Compact
resource instead of the pseudo-RDF/XML format we had before. The thinking
is UI previews are usually displayed in a browser, and JSON is easier to
handle there. Comments and feedback welcome.

A few things to note:

- The current draft removes the 2.0 XML format entirely, although it does
say providers may continue to support it for backwards compatibility.
- It also requires the compacted document form [2] of JSON-LD so that the
document is easy to parse from the browser. Alternatives are allowing any
valid JSON-LD or just using a simple, plain JSON format instead.

[1] http://open-services.net/wiki/core/User-Interface-Previews-3.0/
[2] http://www.w3.org/TR/json-ld/#compacted-document-form

--
Samuel Padgett | IBM Rational | spadgett at us.ibm.com
Eclipse Lyo: Enabling tool integration with OSLC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://open-services.net/pipermail/oslc-core_open-services.net/attachments/20131017/c767de44/attachment-0003.html>


More information about the Oslc-Core mailing list