Skip to content

Add custom JSON Marshallers functions for CycloneDX vulnerability data structures #25

Open
@mrutkows

Description

@mrutkows

When outputting data in JSON format, we need to remove all empty nested structs. We have done this for the license command. This reduces JSON output for downstream processing.

See this issue for more background: #18

See what was done for the license command here as part of the fix for issue 18: https://github.com/CycloneDX/sbom-utility/blob/custom-cmds/schema/cyclonedx_marshal.go

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions