I tested
Example 76: Nested properties
from the 1.1. spec (in progress):
https://json-ld.org/spec/latest/json-ld/#nested-properties
with the basic Java-json-ld program:
https://github.com/jsonld-java/jsonld-java#code-example
Adding this line in code:
options.setProcessingMode(JsonLdOptions.JSON_LD_1_1);
// or tried also
options.setProcessingMode(JsonLdOptions.JSON_LD_1_1_FRAME);
and ... it fails ! :(
Exception in thread "main" com.github.jsonldjava.core.JsonLdError: invalid term definition: 1.1
at com.github.jsonldjava.core.Context.createTermDefinition(Context.java:330)
at com.github.jsonldjava.core.Context.parse(Context.java:279)
at com.github.jsonldjava.core.Context.parse(Context.java:142)
at com.github.jsonldjava.core.Context.parse(Context.java:286)
at com.github.jsonldjava.core.JsonLdApi.expand(JsonLdApi.java:543)
at com.github.jsonldjava.core.JsonLdApi.expand(JsonLdApi.java:997)
at com.github.jsonldjava.core.JsonLdProcessor.expand(JsonLdProcessor.java:146)
at com.github.jsonldjava.core.JsonLdProcessor.compact(JsonLdProcessor.java:51)
I found nothing regarding the status of Java-json-ld regarding JSON-LD 1.1 ;
I'm aware that this is a spec. in progress .
I tested
Example 76: Nested properties
from the 1.1. spec (in progress):
https://json-ld.org/spec/latest/json-ld/#nested-properties
with the basic Java-json-ld program:
https://github.com/jsonld-java/jsonld-java#code-example
Adding this line in code:
and ... it fails ! :(
I found nothing regarding the status of Java-json-ld regarding JSON-LD 1.1 ;
I'm aware that this is a spec. in progress .