[#BloombergLP-bdljsn-NumberUtil-asUshort] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/NumberUtil.adoc[NumberUtil]::asUshort :relfileprefix: ../../../ :mrdocs: Same as the related overload above for `asUshort`. == Synopsis Declared in `<bdljsn_numberutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols="1,4"] |=== | Name| Description | *result* | receives the converted integer value | *value* | JSON number text to convert |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#