package spdx_json
import "github.com/spdx/tools-golang/json"
Index ¶
- func Load2_2(content io.Reader) (*v2_2.Document, error)
- func Load2_3(content io.Reader) (*v2_3.Document, error)
- func Save2_2(doc *v2_2.Document, w io.Writer) error
- func Save2_3(doc *v2_3.Document, w io.Writer) error
Functions ¶
func Load2_2 ¶
Load2_2 takes in an io.Reader and returns an SPDX document.
func Load2_3 ¶
Load2_3 takes in an io.Reader and returns an SPDX document.
func Save2_2 ¶
Save2_2 takes an SPDX Document (version 2.2) and an io.Writer, and writes the document to the writer in JSON format.
func Save2_3 ¶
Save2_3 takes an SPDX Document (version 2.2) and an io.Writer, and writes the document to the writer in JSON format.
Source Files ¶
- Version
- v0.4.0
- Published
- Jan 12, 2023
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 15 seconds ago –
Tools for package owners.