Same as the related overload above for asLong.
Declared in <bdljsn_numberutil.h>
static
int
asLong(
long* result,
std::string_view const& value);
0 on success, or a non-zero status (k_OVERFLOW, k_UNDERFLOW, or k_NOT_INTEGRAL) otherwise
| Name | Description |
|---|---|
| result | receives the converted integer value |
| value | JSON number text to convert |