Skip to content

spdx/spdx-java-v3jsonld-store

Repository files navigation

spdx-java-v3jsonld-store

javadoc

Stores SPDX documents in SPDX version 3 compatible JSON-LD format.

This library utilizes the SPDX Java Library Storage Interface extending the ExtendedSpdxStore which allows for utilizing any underlying store which implements the SPDX Java Library Storage Interface.

Code quality badges

Quality Gate Status Bugs Security Rating Maintainability Rating Technical Debt

Using the Library

This library is intended to be used in conjunction with the SPDX Java Library.

Create an instance of a store which implements the SPDX Java Library Storage Interface. For example, the InMemSpdxStore is a simple in-memory storage suitable for simple file serializations and deserializations.

Create an instance of JsonLDStore(IModelStore baseStore, boolean pretty) passing in the instance of a store created above along with the format. If true, pretty will produce more human-readable output including indents as well as license expressions rather than full model license details.

Serializing and Deserializing

This library supports the ISerializableModelStore interface for serializing and deserializing files.

API Documentation

Development Status

Reasonably stable.

About

Serializable store supporting the SPDX spec version 3 JSON-LD format

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages