JSON output is not valid.
- Dominant language
- Python
- Stars
- 7.3k
- Forks
- 391
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
The JSON output has new lines in multiple places, which is breaking the JSON structure.
**To Reproduce**
Steps to reproduce the behavior:
1. Open Termux app
2. Run command `pywhat --json "abc@example.com | jq`
**Expected behavior**
A clear and formatted output of the resulting json.
**Screenshots**

**Smartphone (please complete the following information):**
- Device: POCO F4
- OS: Android 14
- Terminal app: Termux v0.118.3
Contributor guide
Research direction
Reproduce the issue in Termux with `pywhat --json "abc@example.com" | jq` and inspect the CLI path that produces JSON output. Confirm the output can be parsed by `jq` and that embedded newlines no longer break the JSON structure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100