Skip to content

Support decimal #444

@chuckyblack

Description

@chuckyblack

simplejson supports decimal serialization:

from decimal import Decimal
import simplejson 
assert simplejson.dumps(Decimal('3.1234')) == '3.1234'

Please, add native support for decimal as well.

There is unfinished pull request maybe? #399

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions