Storage for SPDX documents utilizing Jackson Databind.
This store supports serializing and deserializing files in JSON, YAML and XML formats.
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 MultiFormatStore(IModelStore baseStore, Format format)
passing in the instance of a store created above along with the format. The format is one of the following:
JSON
- Compact JSON formatJSON_PRETTY
- pretty printed JSON formatXML
- XML FormatYAML
- YAML formatThis library supports the ISerializableModelStore
interface for serializing and deserializing files based on the format specified.
Mostly stable - although it has not been widely used.