GitHub user fpservant opened a pull request:
https://github.com/apache/jena/pull/207
JsonLDWriter.toJsonLDJavaAPI: create a JsonLD API object from jena data
small refactoring of JsonLDWriter to expose a static method that allows to
convert jena RDF data to JsonLD-java API's object.
This can be useful, because you can then modify this object (a Map
representing the jsonld) the way you want (for instance, to reorder the items
it contains to put more important ones at the beginning, or to make it look
more "jsonish".)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/fpservant/jena master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/jena/pull/207.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #207
----
commit 872c2897af3e99e111719bb45ddde499d04d142b
Author: François-Paul Servant <[email protected]>
Date: 2017-01-26T01:06:43Z
JsonLDWriter.jsonLDJavaAPIObject to convert a Jena dataset to a
JsonLD-java API object
commit e0c7aaa00977e1b990991276346978848530b403
Author: François-Paul Servant <[email protected]>
Date: 2017-01-26T01:16:32Z
toJsonLDJavaAPI: name and order of params changed
----
---
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.
---