Skip to content

Add support for bytearray #5

@randomir

Description

@randomir
>>> import jsonplus
>>> bytearray(10)
bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
>>> jsonplus.dumps(bytearray(10))
...
TypeError: bytearray(b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') 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