cyclonedx-python-lib icon indicating copy to clipboard operation
cyclonedx-python-lib copied to clipboard

[IDEA] feat: importer to make deserialization easier

Open jkowalleck opened this issue 1 year ago • 0 comments

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

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

jkowalleck avatar Oct 08 '23 21:10 jkowalleck