CycloneDX/sbom-utility
Add custom JSON Marshallers functions for CycloneDX vulnerability data structures
开放
#25 创建于 2023年5月18日
enhancementhelp wanted
仓库指标
- 星标
- (155 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
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