Navigation
API > API/Runtime > API/Runtime/Json
Base class for UE::FSharedString based FJsonObject. This class will go away in a future release. Only use FJsonObject directly.
| Name | FJsonObjectSharedStringStorage |
| Type | class |
| Header File | /Engine/Source/Runtime/Json/Public/Dom/JsonObject.h |
| Include Path | #include "Dom/JsonObject.h" |
Syntax
class FJsonObjectSharedStringStorage
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FJsonObjectSharedStringStorage
(
TSharedPtr< UE::JSON::Private::FJsonStringSet > StringSet |
Constructor taking a shared stringset that's shared with other json objects. | Dom/JsonObject.h | |
| Default constructor | Dom/JsonObject.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FStringType | UE::FSharedString | Dom/JsonObject.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Values | TMap< FStringType, TSharedPtr< FJsonValue > > | Dom/JsonObject.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| StringSet | TSharedPtr< UE::JSON::Private::FJsonStringSet > | Dom/JsonObject.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SIZE_T GetAllocatedSize() |
Helper to calculate allocated size of the Values map and its contents | Dom/JsonObject.h | |
SIZE_T GetMemoryFootprint() |
Returns the memory footprint for this object in Bytes, including sizeof(*this) and allocated memory. | Dom/JsonObject.h | |
| Returns the stringset used to store shared key strings. | Dom/JsonObject.h | ||
void SetArrayField
(
FStringView FieldName, |
Sets the array value of the field with the specified name. | Dom/JsonObject.h | |
void SetArrayField
(
FStringView FieldName, |
Dom/JsonObject.h | ||
void SetBoolField
(
FStringView FieldName, |
Sets the bool value of the field with the specified name. | Dom/JsonObject.h | |
void SetField
(
FStringView FieldName, |
Sets the generic json value of the field with the specified name. | Dom/JsonObject.h | |
void SetNumberField
(
FStringView FieldName, |
Sets the number value of the field with the specified name. | Dom/JsonObject.h | |
void SetObjectField
(
FStringView FieldName, |
Sets the object value of the field with the specified name. | Dom/JsonObject.h | |
void SetObjectField
(
FStringView FieldName, |
Dom/JsonObject.h | ||
void SetStringField
(
FStringView FieldName, |
Dom/JsonObject.h | ||
void SetStringField
(
FStringView FieldName, |
Sets the string value of the field with the specified name. | Dom/JsonObject.h | |
void SetStringField
(
FStringView FieldName, |
Dom/JsonObject.h | ||
void SetStringField
(
FStringView FieldName, |
Dom/JsonObject.h | ||
void SetStringField
(
FStringView FieldName, |
Dom/JsonObject.h | ||
void SetStringField
(
FStringView FieldName, |
Dom/JsonObject.h | ||
void SetStringField
(
FStringView FieldName, |
Dom/JsonObject.h | ||
void SetStringField
(
FStringView FieldName, |
Dom/JsonObject.h |