|
|
|
Hi Egon, have a look at JSONJenaWriter on the n2 SVN repo. If you give it a try, please, send me a feedback and if you want we could clean it up together and improve it. See also: Oh, looks very promising! Can you link me to some license information on copyright and licensing? I would like to redistribute... Do you have to have a matching reader too? License is (now) Apache License, Version 2.0. There isn't a matching Jena Reader, as far as I know. But have a look at JSONParser.java (http://n2.talis.com/svn/jena/rdf-writers/trunk/src/test/java/com/talis/rdfwriters/json/JSONParser.java) in the tests. Releases are here: http://oss.talisplatform.com/content/repositories/talis-releases/com/talis/jena/rdf-json/ |
|
Not a direct answer, since you specifically want the Talis format, but the Jena-based code we use for the linked-data API json format (Talis were also part of developing that) is at: http://code.google.com/p/linked-data-api/source/browse/#svn/trunk/json-rdf Some improvements and packaging for that are on the (infinite) todo list. |
|
There is a RDF/JSON writer. Ensure it is loaded:
then
Anything that has touched ARQ wil load it but the explicit init call is safe to call repeatedly.. This will soon be redundant but remain harmless.
|
|
Not related to Talis format, but this is the first result to show on Google. With your result set, e.g. Output to console
Write to a StringThere is an overloaded
|


Are you looking for something other than 'write an RDFWriter for talis / json'?
Ummm... yes, I would :)
But the thought has crossed my mind... but the deadline I am facing right now (Sunday) will likely not allow me too...
It would be good to see if there are other JSON Jena writers around and/or make a comparison between the different JSON proposed syntaxes to serialize RDF.