It uses the JSWriter class from the org.openjena.atlas package which looks like it does some escaping but may not necessarily escape everything it should. It looks like there is code for escaping but that the code path invoked does not necessarily call the escaping
Do you have a specific example where invalid JSON is generated? Rob On Jan 31, 2012, at 11:33 AM, Rurik Thomas Greenall wrote: > Does JSONRDFWriter produce properly escaped JSON? I have noticed that > inverted commas are not escaped. > > Cheers, > > R.
