On Wed, Sep 28, 2011 at 6:03 PM, Olivier Grisel <[email protected]>wrote:
> 2011/9/28 Reto Bachmann-Gmür <[email protected]>: > > > > As a next step I would like to integrate VIE in the enhancer interface so > > that the enhancements appear while you type. VIE could pass its content > as > > JSON-LD with ajax to the server. Is there an existing MessageBodyReader > or > > other JSON-LD parser in use in Stanbol or elsewhere? > > Hi Reto, > > AFAIK, there is JSON-LD parser in java. Also the current serializer > does not take into account the latests changes of the JSON-LD spec: > http://json-ld.org/ > > Also the current serializer be extended to make it possible to pass a > list of common namespace prefix and actually use them in the > serialization (otherwise the generated JSON is full of annoying > redundant URIs which are a pain to work with from javascript for > instance). > This reminds me the curie-prefix service added to clerezza, which unfortunately isn't yet used in any serializer. However I think that apart from the js-code actually doing parsing or serializing the js code shouldn't see the prefixes but access the data exclusively by the URIs. Reto
