BloombergLP::bdljsn::JsonNumber::asInt

Same as the related overload above for asInt.

Synopsis

Declared in <bdljsn_jsonnumber.h>

int
asInt(int* result) const;

Return Value

0 on success, or k_OVERFLOW, k_UNDERFLOW, or k_NOT_INTEGRAL on failure

Parameters

NameDescription
resultinteger to receive the converted value