value::as_integer Method
Convert the JSON value to a C++ integer, if and only if it is a number value. Throws json_exception if the value is not a number
_ASYNCRTIMP int32_t as_integer() const;
Return Value
An 32-bit integer representation of the value
Requirements
Header: json.h
Namespace: web::json