Navigation
API > API/Runtime > API/Runtime/Json
A Json String Value.
| Name | TJsonValueString |
| Type | class |
| Header File | /Engine/Source/Runtime/Json/Public/Dom/JsonValue.h |
| Include Path | #include "Dom/JsonValue.h" |
Syntax
template<typename CharType>
class TJsonValueString : public FJsonValue
Inheritance Hierarchy
- FJsonValue → TJsonValueString
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TJsonValueString
(
const TString< CharType >& InString |
Dom/JsonValue.h | ||
TJsonValueString
(
TString< CharType >&& InString |
Dom/JsonValue.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsEmpty() |
Way to check if string value is empty without copying the string. | Dom/JsonValue.h |
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 TryGetBool
(
bool& OutBool |
Tries to convert this value to a bool, 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
(
int32& 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
(
int64& 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 |