expected result: - [x] add an parameter to the serializes, that controls indention. default to "OFF" -- no indention and such - [x] if indention exists, then beautify JSON/XML - one property declaration per line - nested structures are indented --> in addition, the test data - SNAPSHOTS - should - [x] be marked as "binary" and compared byte-wise, not deep-content-wise. these files are designed to be human-readable, not human-maintainable. - [x] be generated with an indention of 2 spaces for better human readability and showcasing this feature. enables https://github.com/CycloneDX/cyclonedx-python/issues/424
expected result:
default to "OFF" -- no indention and such
--> in addition, the test data - SNAPSHOTS - should
these files are designed to be human-readable, not human-maintainable.
enables CycloneDX/cyclonedx-python#424