Skip to content

[Question] Unescaped dump #1479

@p-groarke

Description

@p-groarke

I'm using jsonformoderncpp as a simple intermediary to traverse json and store it in another hierarchical format. All I need is strings for every key/value pair, regardless of their type. I use dump, which works as expected, but it adds escaped quotes to values.

Is their a way to get values "as is" without escaped quotes? get<std::string> can't work as it checks the json type is actually a string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions