value::operator[]-Operator
Greift auf ein Feld eines JSON-Objekts zu.
_ASYNCRTIMP value & operator [] (
const utility::string_t &key
);
_ASYNCRTIMP const value & operator [] (
const utility::string_t &key
) const;
_ASYNCRTIMP value & operator [] (
size_t index
);
_ASYNCRTIMP const value & operator [] (
size_t index
) const;
Parameter
key
Der Name des Feldsindex
Der Index eines Elements im JSON-Array.
Rückgabewert
Ein Verweis auf den Wert im Feld
Anforderungen
Header: json.h
Namespace: web::json