package jsonsaver

import "github.com/spdx/tools-golang/jsonsaver"

Index

Functions

func Save2_2

func Save2_2(doc *spdx.Document2_2, w io.Writer) error

Save2_2 takes an io.Writer and an SPDX Document (version 2.2), and writes it to the writer in json format. It returns error if any error is encountered.

Source Files

jsonsaver.go

Directories

PathSynopsis
jsonsaver/saver2v2Package saver2v2 contains functions to render and write a json formatted version of an in-memory SPDX document and its sections (version 2.2).
Version
v0.3.0
Published
Apr 3, 2022
Platform
linux/amd64
Imports
4 packages
Last checked
10 seconds ago

Tools for package owners.