We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4842828 commit 6b91494Copy full SHA for 6b91494
cyclonedx/model/bom.py
@@ -314,7 +314,12 @@ def __repr__(self) -> str:
314
return f'<BomMetaData timestamp={self.timestamp}, component={self.component}>'
315
316
317
-@serializable.serializable_class(ignore_unknown_during_deserialization=True)
+@serializable.serializable_class(
318
+ ignore_during_deserialization={
319
+ '$schema', 'bom_format', 'spec_version', # JSON-implementation's format hints
320
+ },
321
+ ignore_unknown_during_deserialization=True
322
+)
323
class Bom:
324
"""
325
This is our internal representation of a bill-of-materials (BOM).
0 commit comments