I’ve written a small Java utility for converting any node in an RDF graph into a JSON object. You can download RDFOO 0.1 alpha or alternatively go to the RDFOO web page which has links to more documentation.
RDFOO is (more or less) an implementation of JDIL, using Jena and the Java classes for JSON from json.org. Given a resource in an RDF graph, RDFOO by default performs a shallow mapping to a JSON object, capturing only literal value properties. RDFOO can also be told to follow specific properties to a given (or unlimited) depth, to capture nested objects, and handles circular references.
If you find any bugs or have any comments I’d love to hear from you. I think the implementation is sensible, and it passes a reasonably complete test case, but then I’m no Java guru – you have been warned 🙂