licence_audit/sbom_json

Types

Why pretty-printing an SBOM JSON document failed.

pub type PrettyPrintError {
  InvalidJson
}

Constructors

  • InvalidJson

Values

pub fn describe_error(error: PrettyPrintError) -> String

Human-readable description of a pretty-printing failure.

pub fn pretty_print(
  json: String,
) -> Result(String, PrettyPrintError)
✨ Search Document