[
https://issues.apache.org/jira/browse/JENA-1948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17387380#comment-17387380
]
Andy Seaborne commented on JENA-1948:
-------------------------------------
{{jakarta.json}} does not seem to have any further dependencies. It's licensed
EPL-2.0 so we are limited using as a binary (it's
[Cat-B|http://www.apache.org/legal/resolved.html#category-b]).
What customizations of the loader do you use? Anything can be exposed via
"Context" which in a map of key (an intern'ed string) to a java object.
Do you have a pointer to your bridge code?
Using {{ServiceLoader}}, additional modules can wire themselves in without any
need for app code to trigger it.
[InitShacl|https://github.com/apache/jena/blob/main/jena-shacl/src/main/java/org/apache/jena/shacl/sys/InitShacl.java]
does this for [SHACL Compact
syntax|https://github.com/apache/jena/blob/main/jena-shacl/src/main/java/org/apache/jena/shacl/compact/SHACLC.java]
(The constant is aleardy defined only so {{Lang.SHACLC}} is a Java constant).
For general reference: the steps [~acoburn] is referring to are show in
[ExRIOT6_AddNewReader|https://github.com/apache/jena/blob/main/jena-arq/src-examples/arq/examples/riot/ExRIOT6_AddNewReader.java]
where a new language+parser is wired in.
> Consider using Titanium library for JSON-LD 1.1 support
> -------------------------------------------------------
>
> Key: JENA-1948
> URL: https://issues.apache.org/jira/browse/JENA-1948
> Project: Apache Jena
> Issue Type: Wish
> Components: JSON-LD, RIOT
> Reporter: Didac
> Priority: Major
> Labels: First
>
> Since there is finally a [JSON-LD 1.1 recommendation
> release|https://www.w3.org/TR/json-ld11/] and Json-LD java is not fully
> supporting JSON-LD 1.1 (plus it seems to be looking for maintainers) maybe is
> time to take a look to the other project out there that supports JSON-LD 11
> in Java: [https://github.com/filip26/titanium-json-ld]
> The coverage is pretty good. I haven't seen any performance comparison
> though. And the project is very recent, but worth taking a look.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)