Both the NQuads [1] and RDF/JSON [2] modules now have implementations to be released in Sesame-2.7.
The RDF/JSON implementation in Sesame Rio is a Jackson based streaming implementation that is faster than the org.json non-streaming approach in my tests. If you don't mind having Jackson as a dependency then it would be useful to deprecate the implementation here and switch to using the Sesame Rio implementation
The NQuads module is implemented in a fairly similar manner to here so there should not be any difficulties there.
Both the NQuads [1] and RDF/JSON [2] modules now have implementations to be released in Sesame-2.7.
The RDF/JSON implementation in Sesame Rio is a Jackson based streaming implementation that is faster than the org.json non-streaming approach in my tests. If you don't mind having Jackson as a dependency then it would be useful to deprecate the implementation here and switch to using the Sesame Rio implementation
The NQuads module is implemented in a fairly similar manner to here so there should not be any difficulties there.
[1] https://openrdf.atlassian.net/browse/SES-802 [2] https://openrdf.atlassian.net/browse/SES-1784