Skip to content

README.md erratum #37

@Lotharyx

Description

@Lotharyx

The readme makes this claim:

Multi-level Access

To access elements several levels down, the get(key) and array(index) can be used for objects and arrays, respectively:

std::string music_desired = example.array(0).get("hobbies").array(1).get("music");

This is untrue, as json::jobject::get returns a std::string, not a json::jobject.

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