Skip to content

Add support for array.array #4

@randomir

Description

@randomir
>>> import array, jsonplus
>>> array.array('f', [1.1, 2.2])
array('f', [1.100000023841858, 2.200000047683716])
>>> jsonplus.dumps(array.array('f', [1.1, 2.2]))
...
TypeError: array('f', [1.100000023841858, 2.200000047683716]) is not JSON serializable

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions