Re:List of falsehoods programmers believe in
by ptx on Tuesday February 14, 2017 @04:20AM
(#13642315)
You could subclass the json.JSONEncoder class (and implement the default method) to decode bytes objects, along the lines of the example in the documentation:
https://docs.python.org/3.5/library/json.html