Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/decentralized-identity/jsonld-common-java
Shared JSON-LD Java library.
https://github.com/decentralized-identity/jsonld-common-java
wg-id
Last synced: about 2 months ago
JSON representation
Shared JSON-LD Java library.
- Host: GitHub
- URL: https://github.com/decentralized-identity/jsonld-common-java
- Owner: decentralized-identity
- License: apache-2.0
- Created: 2020-10-06T11:47:03.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-10T23:17:31.000Z (9 months ago)
- Last Synced: 2024-04-14T04:46:08.159Z (8 months ago)
- Topics: wg-id
- Language: Java
- Homepage:
- Size: 166 KB
- Stars: 6
- Watchers: 14
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jsonld-common-java
## Information
This is an implementation of helper objects and functions for JSON-LD documents.
## Maven
Build:
mvn clean install
Dependency:
danubetech-maven-public
https://repo.danubetech.com/repository/maven-public/
decentralized-identity
jsonld-common-java
1.8.0
## Example
Example code:
JsonLDObject jsonLdObject = JsonLDObject.fromJson(new FileReader("input.jsonld"));
JsonLDObject jsonLdObject2 = JsonLDObject.builder()
.context(URI.create("https://example.com/mycontext/1.0"))
.type("SampleDocument")
.build();
JsonLDUtils.jsonLdAdd(jsonLdObject, "property", jsonLdObject2);
System.out.println(jsonLdObject.toJson(true));## About
Decentralized Identity Foundation - https://identity.foundation/
This software library is part of a project that has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement No 871932