cyclonedx.output.json

Attributes

BY_SCHEMA_VERSION

Classes

Json

JsonV1Dot0

JsonV1Dot1

JsonV1Dot2

JsonV1Dot3

JsonV1Dot4

JsonV1Dot5

JsonV1Dot6

JsonV1Dot7

Module Contents

class cyclonedx.output.json.Json(bom: cyclonedx.model.bom.Bom)

Bases: cyclonedx.output.BaseOutput, cyclonedx.schema.schema.BaseSchemaVersion

property schema_version: cyclonedx.schema.SchemaVersion
property output_format: Literal[cyclonedx.schema.OutputFormat.JSON]
generate(force_regeneration: bool = False) None
output_as_string(*, indent: int | str | None = None, **kwargs: Any) str
class cyclonedx.output.json.JsonV1Dot0(bom: cyclonedx.model.bom.Bom)

Bases: Json, cyclonedx.schema.schema.SchemaVersion1Dot0

property schema_version: cyclonedx.schema.SchemaVersion
property output_format: Literal[cyclonedx.schema.OutputFormat.JSON]
generate(force_regeneration: bool = False) None
output_as_string(*, indent: int | str | None = None, **kwargs: Any) str
class cyclonedx.output.json.JsonV1Dot1(bom: cyclonedx.model.bom.Bom)

Bases: Json, cyclonedx.schema.schema.SchemaVersion1Dot1

property schema_version: cyclonedx.schema.SchemaVersion
property output_format: Literal[cyclonedx.schema.OutputFormat.JSON]
generate(force_regeneration: bool = False) None
output_as_string(*, indent: int | str | None = None, **kwargs: Any) str
class cyclonedx.output.json.JsonV1Dot2(bom: cyclonedx.model.bom.Bom)

Bases: Json, cyclonedx.schema.schema.SchemaVersion1Dot2

property schema_version: cyclonedx.schema.SchemaVersion
property output_format: Literal[cyclonedx.schema.OutputFormat.JSON]
generate(force_regeneration: bool = False) None
output_as_string(*, indent: int | str | None = None, **kwargs: Any) str
class cyclonedx.output.json.JsonV1Dot3(bom: cyclonedx.model.bom.Bom)

Bases: Json, cyclonedx.schema.schema.SchemaVersion1Dot3

property schema_version: cyclonedx.schema.SchemaVersion
property output_format: Literal[cyclonedx.schema.OutputFormat.JSON]
generate(force_regeneration: bool = False) None
output_as_string(*, indent: int | str | None = None, **kwargs: Any) str
class cyclonedx.output.json.JsonV1Dot4(bom: cyclonedx.model.bom.Bom)

Bases: Json, cyclonedx.schema.schema.SchemaVersion1Dot4

property schema_version: cyclonedx.schema.SchemaVersion
property output_format: Literal[cyclonedx.schema.OutputFormat.JSON]
generate(force_regeneration: bool = False) None
output_as_string(*, indent: int | str | None = None, **kwargs: Any) str
class cyclonedx.output.json.JsonV1Dot5(bom: cyclonedx.model.bom.Bom)

Bases: Json, cyclonedx.schema.schema.SchemaVersion1Dot5

property schema_version: cyclonedx.schema.SchemaVersion
property output_format: Literal[cyclonedx.schema.OutputFormat.JSON]
generate(force_regeneration: bool = False) None
output_as_string(*, indent: int | str | None = None, **kwargs: Any) str
class cyclonedx.output.json.JsonV1Dot6(bom: cyclonedx.model.bom.Bom)

Bases: Json, cyclonedx.schema.schema.SchemaVersion1Dot6

property schema_version: cyclonedx.schema.SchemaVersion
property output_format: Literal[cyclonedx.schema.OutputFormat.JSON]
generate(force_regeneration: bool = False) None
output_as_string(*, indent: int | str | None = None, **kwargs: Any) str
class cyclonedx.output.json.JsonV1Dot7(bom: cyclonedx.model.bom.Bom)

Bases: Json, cyclonedx.schema.schema.SchemaVersion1Dot7

property schema_version: cyclonedx.schema.SchemaVersion
property output_format: Literal[cyclonedx.schema.OutputFormat.JSON]
generate(force_regeneration: bool = False) None
output_as_string(*, indent: int | str | None = None, **kwargs: Any) str
cyclonedx.output.json.BY_SCHEMA_VERSION: dict[cyclonedx.schema.SchemaVersion, type[Json]]