CycloneDX / CycloneDX/sbom-utility

Add custom JSON Marshallers functions for CycloneDX vulnerability data structures

Open
#25 1 comment 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Go
Stars
163
Forks
21
PR merge metrics
No merged PRs in 30d

Description

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: https://github.com/CycloneDX/sbom-utility/issues/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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.