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.
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.
This library supports the ISerializableModelStore
interface for serializing and deserializing files.
Still in development, somewhat unstable.