mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
14 lines
249 B
Go
14 lines
249 B
Go
package spdx22json
|
|
|
|
import "github.com/anchore/syft/syft/format"
|
|
|
|
// note: this format is LOSSY relative to the syftjson format
|
|
func Format() format.Format {
|
|
return format.NewFormat(
|
|
format.SPDXJSONOption,
|
|
encoder,
|
|
decoder,
|
|
validator,
|
|
)
|
|
}
|