Skip to content

Best way to extract numbers in the string? #1865

@grancia

Description

@grancia

Given following string having double quotes in input string, what is the best way to extract numbers only with nlohmann json?
input: "{'data_a': [1, 2], 'data_b': [3, 4]}"

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