simpleson
simpleson copied to clipboard
README.md erratum
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.