How to fix JsonCPP error from getMemberNames()?
===

The JSON file looks like this:

    {
    "strings": [
        {
            "key_one": "value_one!"
        },
        {
            "key_two": "value_two!"
        },
        ]
    }

The C++ file looks like this:

    Json::Value root;
    Json::Reader reader;
    bool parsingSuccessful = reader.parse(contents, root);
    const Json::Value strings = root["strings"];
    std::vector<std::string> list = strings.getMemberNames();

The error caused by "strings.getMemberNames()" is:

    Assertion failed: (type_ == nullValue || type_ == objectValue), function getMemberNames, file /projects/.../jsoncpp.cpp,

"strings" is an arrayValue, I confirmed it by getting it's ValueType = 6.

Any help is much appreciated, thanks fellas.