Specify custom json serializers
Open
feature-request
- Dominant language
- Python
- Stars
- 11.1k
- Forks
- 1k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 2
Description
For example, if I am using mongodb, I currently have to serialize the responses I get myself using `bson.json_util.dumps`. It would be nice if we could specify the default json serializer that chalice uses.
Contributor guide
Research direction
The issue names no repository files or tests; start by tracing where Chalice serializes API responses and compare the current behavior with bson.json_util.dumps. Done means users can configure a default JSON serializer and responses use it without manual serialization.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mongodb, python
- Domain
- api, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100