Skip to content

Conversation

@lokiee0
Copy link

@lokiee0 lokiee0 commented Oct 9, 2025

  • Add -j/--json flag for JSON formatted output
  • Implement JSONResult struct with proper field names
  • Include port service names in JSON output
  • Convert latency to milliseconds for better readability
  • Support JSON output for all scan types (SYN, Connect, Device)
  • Output results as JSON array for multiple targets
  • Add comprehensive unit tests for JSON functionality
  • Update README with JSON usage examples

Fixes #14

- Add -j/--json flag for JSON formatted output
- Implement JSONResult struct with proper field names
- Include port service names in JSON output
- Convert latency to milliseconds for better readability
- Support JSON output for all scan types (SYN, Connect, Device)
- Output results as JSON array for multiple targets
- Add comprehensive unit tests for JSON functionality
- Update README with JSON usage examples

Fixes liamg#14
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.

Option to output to json

1 participant