[New-bugs-announce] [issue26263] Serialize array.array to JSON by default
report at bugs.python.org
Mon Feb 1 13:50:39 EST 2016
New submission from Omer Katz:
Is there a reason why the JSON module doesn't serialize array.array() instances by default?
Currently you need to convert them to tuples but I'm confident that the C API for those types is enough to iterate over the array and serialize it to a JSON list.
We should support serializing arrays by default in my opinion.
components: Interpreter Core
title: Serialize array.array to JSON by default
versions: Python 3.6
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce