In C++ you can use either the index operator or the value method to do a key lookup.
E.g.
QVariant someValue
= variantMap.
value(someKey
);
QVariant someValue = variantMap.value(someKey);
To copy to clipboard, switch view to plain text mode
In QML/JavaScript I think you can also use the index operator or the key as a property name,
e.g.
var someValue = variantMap[someKey];
var someValue = variantMap[someKey];
To copy to clipboard, switch view to plain text mode
The script environment can also deal with JSON directly as far as I know.
Cheers,
_
Bookmarks