Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 552 Bytes

unserializers.md

File metadata and controls

14 lines (9 loc) · 552 Bytes

Unserializer

Unserializers implement the native.Unserializer interface. They are tasked to transform standard SBOM documents in CycloneDX or SPDX formats into a protobom. Readers use unserializers to read an SBOM document into neutral protobom objects.

Writing new Unserializers

  • Implement the native.Unserializer interface
  • Write the Unserialize() method to read an SBOM format into a protobom object

See CDX unserialization example