Skip to content

Jsonify does not take allow_nan #3083

Description

@david-cortes

It seems passing argument allow_nan = False to flask.jsonify will not actually turn NaNs into something else like null - e.g. flask.jsonify({“a” : numpy.nan}) will produce {“a” : NaN}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions