github.com/kastenhq/syft@v0.0.0-20230821225854-0710af25cdbe/syft/formats/syftjson/format.go (about) 1 package syftjson 2 3 import ( 4 "github.com/kastenhq/syft/internal" 5 "github.com/kastenhq/syft/syft/sbom" 6 ) 7 8 const ID sbom.FormatID = "syft-json" 9 10 func Format() sbom.Format { 11 return sbom.NewFormat( 12 internal.JSONSchemaVersion, 13 encoder, 14 decoder, 15 validator, 16 ID, "json", "syft", 17 ) 18 }