On 10/04/16 15:43, François-Paul Servant wrote:
Hi,
beside setting the NSPrefixes, are there ways to control the JSON-LD output
from Jena? For instance, to choose the format (compact, expanded,…), or to set
the context.
If not, any pointer into the code to get me started quickly?
I’ve read this old thread on this subject:
http://users.jena.apache.narkive.com/NF0pn3kq/controlling-json-ld-output
Best,
fps
Hi,
There isn't a way to style the output in Jena. It would nice to have
something that is general, robust and pretty. (anyone want to have a go?)
Alternatively, JSON-LD framing, any toolkit, applied after output from
Jena as mentioned in the thread, is one thing consider especially if
what you want is idiomatic JSON for the application domain, that happens
to be JSON-LD as well.
Andy