Stijn Verholen created JENA-2350:
------------------------------------

             Summary: Allow retrieval of JsonLdOptions from Jena Context for 
json-ld 1.1
                 Key: JENA-2350
                 URL: https://issues.apache.org/jira/browse/JENA-2350
             Project: Apache Jena
          Issue Type: Improvement
          Components: JSON-LD
    Affects Versions: Jena 4.7.0
            Reporter: Stijn Verholen
             Fix For: Jena 4.8.0


The ReaderRIOT for json-ld 1.0 (org.apache.jena.riot.lang.LangJSONLD10) passes 
an options object (com.github.jsonldjava.core.JsonLdOptions) to the underlying 
JsonLdProcessor.

This allows you to easily override the package default configuration.

 

For the json-ld 1.1 ReaderRIOT implementation 
(org.apache.jena.riot.lang.LangJSONLD11) the context is passed on to the read 
method, but it is ignored.

This can easily be fixed by settings the options on the underlying class in 
titanium (com.apicatalog.jsonld.api.ToRdfApi), using the same approach as the 
1.0 class.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to