Skip to content

refactor: use json module for result serialization in into_json#317

Merged
kaifcodec merged 3 commits intomainfrom
fix/output-bug
Apr 3, 2026
Merged

refactor: use json module for result serialization in into_json#317
kaifcodec merged 3 commits intomainfrom
fix/output-bug

Conversation

@kaifcodec
Copy link
Copy Markdown
Owner

  • Replace manual JSON string construction with json.dumps to prevent formatting errors
  • Fix JSONDecodeError caused by improper delimiter handling or unescaped characters
  • Ensure consistent indentation and valid JSON structure for scan results

- Replace manual JSON string construction with json.dumps to prevent formatting errors
- Fix JSONDecodeError caused by improper delimiter handling or unescaped characters
- Ensure consistent indentation and valid JSON structure for scan results
@kaifcodec kaifcodec added enhancement New feature or request bug fix Fixed a bug in existing files labels Apr 2, 2026
@kaifcodec kaifcodec linked an issue Apr 3, 2026 that may be closed by this pull request
@kaifcodec kaifcodec merged commit 3bdd58e into main Apr 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix Fixed a bug in existing files enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug Report]: JSONDecodeError in __main__.py

1 participant