Skip to content

When key is not found print the key name into error too #1273

@graph

Description

@graph

e.g. when I do

std::string result = jsonObject["hello"];

and "hello" is not found it just does an assert and I don't know what key is being looked up. It would be nice to also print out the key name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    solution: duplicatethe issue is a duplicate; refer to the linked issue instead

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions