CycloneDX / CycloneDX/cyclonedx-python-lib

[IDEA] feat: importer to make deserialization easier

Aperta
#465 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement idea
Lingua principale
Python
Stelle
116
Fork
67
Merge medio
8g 2h
PR unite (30g)
2

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.