Same as the related overload above for asUshort.
Synopsis
Declared in <bdljsn_numberutil.h>
static
int
asUshort(
unsigned short* result,
std::string_view const& value);
Return Value
0 on success, or a non‐zero status (k_OVERFLOW, k_UNDERFLOW, or k_NOT_INTEGRAL) otherwise
Parameters
Name |
Description |
result |
receives the converted integer value |
value |
JSON number text to convert |
Created with MrDocs