This class defines a value‐semantic type that represents a JSON number.
Synopsis
Declared in <bdljsn_jsonnumber.h>
class JsonNumber;
Description
Objects of this class have a value determined at construction and does not change except by assignment from or swap with another JsonNumber object. The value can be specified by supplying a string that conforms to the {JSON Textual Specification} or from one of the {Supported Types}. The value of a JSON object can be converted to any of those types; however, some of those conversions can be inexact.
Type Aliases
Name |
Description |
This |
Enums
Name |
Description |
Undocumented symbol. |
Member Functions
Name |
Description |
|
Constructors |
Assignment operators |
|
|
DEPRECATED: Use |
Same as the related overload above for |
|
Load into |
|
Same as the related overload above for |
|
Return the closest floating point representation to this number. |
|
Same as the related overload above for |
|
Same as the related overload above for |
|
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 |
|
Same as the related overload above for |
|
Same as the related overload above for |
|
Same as the related overload above for |
|
Return the allocator used by this object to supply memory. |
|
Return |
|
Return |
|
Write the value of this object to the specified output |
|
Efficiently exchange the value of this object with that of |
|
Return the textual representation of this |
|
|
Declare nested type traits for this type. |
Same as the related overload above for |
|
Same as the related overload above for |
|
Return the closest floating point representation to this number. |
Static Member Functions
Name |
Description |
Return |
Friends
Name |
Description |
Exchange the values of the specified |
Non-Member Functions
Name |
Description |
Same as the related overload above for |
|
Return |
|
Same as the related overload above for |
|
Return |
Created with MrDocs