value::as_bool Method
Convert the JSON value to a C++ bool, if and only if it is a Boolean value.
_ASYNCRTIMP bool as_bool() const;
Return Value
A C++ bool representation of the value
Requirements
Header: json.h
Namespace: web::json
Den här webbläsaren stöds inte längre.
Uppgradera till Microsoft Edge och dra nytta av de senaste funktionerna och säkerhetsuppdateringarna, samt teknisk support.
Convert the JSON value to a C++ bool, if and only if it is a Boolean value.
_ASYNCRTIMP bool as_bool() const;
A C++ bool representation of the value
Header: json.h
Namespace: web::json