You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@jena.apache.org by "Stijn Verholen (Jira)" <ji...@apache.org> on 2023/04/05 19:08:00 UTC

[jira] [Created] (JENA-2350) Allow retrieval of JsonLdOptions from Jena Context for json-ld 1.1

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: jira-unsubscribe@jena.apache.org
For additional commands, e-mail: jira-help@jena.apache.org