Navigation
API > API/Runtime > API/Runtime/Json
A Json Number Value, stored internally as a string so as not to lose precision
| Name | TJsonValueNumberString |
| Type | class |
| Header File | /Engine/Source/Runtime/Json/Public/Dom/JsonValue.h |
| Include Path | #include "Dom/JsonValue.h" |
Syntax
template<typename CharType>
class TJsonValueNumberString : public FJsonValue
Inheritance Hierarchy
- FJsonValue → TJsonValueNumberString
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TJsonValueNumberString
(
const TString< CharType >& InString |
Dom/JsonValue.h | ||
TJsonValueNumberString
(
TString< CharType >&& InString |
Dom/JsonValue.h |
Functions
Public
Overridden from FJsonValue
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual SIZE_T GetMemoryFootprint () |
Returns the memory footprint for this object in Bytes, including sizeof(*this) and allocated memory. | Dom/JsonValue.h | |
virtual bool PreferStringRepresentation() |
Returns whether or not a caller should prefer a string representation of the value, rather than the natural JSON type | Dom/JsonValue.h | |
virtual bool TryGetBool
(
bool& OutBool |
Tries to convert this value to a bool, returning false if not possible | Dom/JsonValue.h | |
virtual bool TryGetNumber
(
uint16& OutNumber |
Tries to convert this value to a number, returning false if not possible | Dom/JsonValue.h | |
virtual bool TryGetNumber
(
uint8& OutNumber |
Tries to convert this value to a number, returning false if not possible | Dom/JsonValue.h | |
virtual bool TryGetNumber
(
int64& OutNumber |
Tries to convert this value to a number, returning false if not possible | Dom/JsonValue.h | |
virtual bool TryGetNumber
(
int32& OutNumber |
Tries to convert this value to a number, returning false if not possible | Dom/JsonValue.h | |
virtual bool TryGetNumber
(
int16& OutNumber |
Tries to convert this value to a number, returning false if not possible | Dom/JsonValue.h | |
virtual bool TryGetNumber
(
double& OutNumber |
Tries to convert this value to a number, returning false if not possible | Dom/JsonValue.h | |
virtual bool TryGetNumber
(
float& OutNumber |
Tries to convert this value to a number, returning false if not possible | Dom/JsonValue.h | |
virtual bool TryGetNumber
(
uint32& OutNumber |
Tries to convert this value to a number, returning false if not possible | Dom/JsonValue.h | |
virtual bool TryGetNumber
(
int8& OutNumber |
Tries to convert this value to a number, returning false if not possible | Dom/JsonValue.h | |
virtual bool TryGetNumber
(
uint64& OutNumber |
Tries to convert this value to a number, returning false if not possible | Dom/JsonValue.h | |
virtual bool TryGetString
(
FString& OutString |
Tries to convert this value to a string, returning false if not possible | Dom/JsonValue.h | |
virtual bool TryGetUtf8String
(
FUtf8String& OutString |
Tries to convert this value to a utf8 string, returning false if not possible | Dom/JsonValue.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SIZE_T GetAllocatedSize() |
Helper to calculate allocated size of the Value string | Dom/JsonValue.h |
Overridden from FJsonValue
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetType() |
Dom/JsonValue.h |