[New-bugs-announce] [issue26263] Serialize array.array to JSON by default

Omer Katz 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
messages: 259341
nosy: Omer.Katz
priority: normal
severity: normal
status: open
title: Serialize array.array to JSON by default
type: enhancement
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26263>
_______________________________________


More information about the New-bugs-announce mailing list