Skip to content

Add dict and json output to dumpstruct #156

Open
Schamper wants to merge 4 commits intomainfrom
dumpstruct-json
Open

Add dict and json output to dumpstruct #156
Schamper wants to merge 4 commits intomainfrom
dumpstruct-json

Conversation

@Schamper
Copy link
Copy Markdown
Member

Refactors dumpstruct to add the ability to generate dict and JSON information about a structure. The rendering is also updated to use this dictionary representation.

Also some small maintenance cleanup on the example scripts.

Schamper and others added 2 commits April 29, 2026 17:29
Co-authored-by: Copilot <copilot@github.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 29, 2026

Codecov Report

❌ Patch coverage is 0% with 170 lines in your changes missing coverage. Please review.
✅ Project coverage is 0.00%. Comparing base (29652dd) to head (79dbeb3).

Files with missing lines Patch % Lines
dissect/cstruct/utils.py 0.00% 170 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##            main    #156    +/-   ##
======================================
  Coverage   0.00%   0.00%            
======================================
  Files         21      21            
  Lines       2470    2596   +126     
======================================
- Misses      2470    2596   +126     
Flag Coverage Δ
unittests 0.00% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 29, 2026

Merging this PR will not alter performance

✅ 12 untouched benchmarks


Comparing dumpstruct-json (79dbeb3) with main (29652dd)

Open in CodSpeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant