package saver2v2
import "github.com/spdx/tools-golang/jsonsaver/saver2v2"
Package saver2v2 contains functions to render and write a json formatted version of an in-memory SPDX document and its sections (version 2.2). SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
Index ¶
Functions ¶
func RenderDocument2_2 ¶
func RenderDocument2_2(doc *spdx.Document2_2, buf *bytes.Buffer) error
RenderDocument2_2 is the main entry point to take an SPDX in-memory Document (version 2.2), and render it to the received *bytes.Buffer. It is only exported in order to be available to the jsonsaver package, and typically does not need to be called by client code.
Source Files ¶
save_annotations.go save_creation_info.go save_document.go save_files.go save_other_license.go save_package.go save_relationships.go save_reviews.go save_snippets.go
- Version
- v0.3.0-rc1
- Published
- Mar 27, 2022
- Platform
- darwin/amd64
- Imports
- 6 packages
- Last checked
- 25 seconds ago –
Tools for package owners.