In JSON, marshal byte slices to strings using the escape syntax.
Open
- Dominant language
- Go
- Stars
- 37
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
We currently encode byte slices to base64 encoded strings. We should instead use the escape syntax. Unfortunately, making this work _correctly_ may be kind of a pain.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the JSON marshaling implementation for byte slices and any existing tests covering the current base64 output. Trace the required escape syntax and its edge cases before changing behavior; done means byte slices use that syntax instead of base64, with tests demonstrating correct encoding.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100