Only use a custom JSONDecoder if needed
Before adoption: this commit came in with the history the project adopted, so no landing records it.
The default JSONDecoder adds no extra functionality to `json.loads`, but using a custom class in the function call you off of an optimized fast path in pypy (it adds some overhead in cpython, but I think it's minimal). This change sticks with the default loading behaviour unless the user has specifically opted in to customising it.
authored by olliemath · committed by David Lord · parent c5ca175 · Browse files · 2 files+12 added−3 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Co-authored-by: David Lord <davidism@gmail.com>
Diff stats
2 files+12 added−3 removed
- other:+12 added−3 removed