Documentation ¶ Index ¶ type JSON func (json *JSON) Serialize(doc *spdx.Document) (string, error) type Serializer type TagValue func (tv *TagValue) Serialize(doc *spdx.Document) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type JSON ¶ type JSON struct{} func (*JSON) Serialize ¶ func (json *JSON) Serialize(doc *spdx.Document) (string, error) Serialize serializes the document into a spdx JSON type Serializer ¶ type Serializer interface { Serialize(*spdx.Document) (string, error) } type TagValue ¶ type TagValue struct{} func (*TagValue) Serialize ¶ func (tv *TagValue) Serialize(doc *spdx.Document) (string, error) Serialize the documento into SPDX Tag-Value format. For now, the tag-value saerializer is just a wrapper around the old document.Render function. In future versions, the rendering logic should be moved here. Source Files ¶ View all Source files serialize.go Click to show internal directories. Click to hide internal directories.