Namespace for utilities converting between JSON number text and numeric types.
Synopsis
Declared in <bdljsn_numberutil.h>
struct NumberUtil;
Description
This struct provides a namespace for a suite of functions that convert between a JSON formated numeric value and various numerical types. The valid syntax for a JSON formatted numeric value is spelled out in https://www.rfc‐editor.org/rfc/rfc8259#section‐6.
Type Aliases
Enums
Name |
Description |
Special integer conversion status values. |
Static Member Functions
Name |
Description |
Return |
|
Return the closest floating point representation to the specified |
|
Load the specified |
|
Same as the related overload above for |
|
Return the closest floating point representation to the specified |
|
Same as the related overload above for |
|
Same as the related overload above for |
|
Load into the specified |
|
Same as the related overload above for |
|
Same as the related overload above for |
|
Load the specified |
|
Same as the related overload above for |
|
Same as the related overload above for |
|
Load the specified |
|
Same as the related overload above for |
|
Same as the related overload above for |
|
Return |
|
Return |
|
|
Created with MrDocs