CycloneDX / CycloneDX/cyclonedx-python-lib

[IDEA] feat: importer to make deserialization easier

Open
#465 0 comments 0 reactions 0 assignees View on GitHub
enhancement idea
Dominant language
Python
Stars
116
Forks
67
PR merge metrics
No merged PRs in 30d

Description

now taht we have validators, it should be possible to write an importer, like the `outputter`s ...

it should take an arbitrary string,
detect the schema from it, and validate against it
if no schema can be detected, then try trom latest to odest ...

if validaion fails: throw
else: return BOM

tesying: integration test is fine
- load the CDX test data, serialize again, and check for valid data or equalness...

this should imprive the deserialization a lot

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.