`pretty` query option for JSON response
Open
- Dominant language
- Go
- Stars
- 44
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
When querying the API, the response is minimalized and hard to read for human.
Certain server/API offer an option to write "pretty" JSON - JSON that is human readable.
While it should be an option (because it uses more bandwidth), it's useful for debugging, and we might want to support it.
Contributor guide
Research direction
Start by locating the API query handling and JSON response serialization, then inspect how existing query options are parsed. Done means an optional pretty-response setting produces human-readable JSON while the default remains minimal; verify the behavior with the project's relevant API tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100