Skip to content

Option to read numeric JSON data always as doubles #455

@alusiani

Description

@alusiani

It would be nice to have an option in the function fromJSON() to return doubles instead of integers, even if all numbers in the JSON string are without a decimal point or exponential format. I have some software that stores in JSON in some cases large full correlation matrices composet of just "1"s, this is a very compact format. I'd like to be able to read them back as doubles instead of integers, providing some option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions