Skip to content

YamlOutput exports invalid JSON #689

@vladinator1000

Description

@vladinator1000

Hi guys, I noticed that in Python when exporting a .json file like this:

aggregated_pool = PoolAggregator(defaultStats = stats)(current_extractor)
YamlOutput(filename = someName, format = 'json')(aggregated_pool)

When there is a nan or inf value, the exporter doesn't put it in a string, which triggers an exception when trying to import the .json file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions