Github user fpservant commented on the issue:
https://github.com/apache/jena/pull/203
@afs I think that @ajs6f refers to code:
```
InputStream in = new
ByteArrayInputStream(jsonld.getBytes(StandardCharsets.UTF_8));
+ Dataset ds = DatasetFactory.create();
+ ReaderRIOT reader = RDFDataMgr.createReader(Lang.JSONLD);
(etc)
```
he commented:
> This whole section seems complex. How about
org.apache.jena.riot.RDFDataMgr.read(Model, StringReader, String, Lang)?
and I replied:
> Hmm, maybe I'm missing something obvious, but I need to pass the Context.
I didn't find an easier way (all read methods in RDFDataMgr that take the
Context as arg use the uri param to define what we read).
and:
> I'd be happy to learn about a better way to read data from an
InputStream, that supports the passing of a Context
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---