Module |
|
Header |
/Engine/Source/Runtime/Json/Public/Dom/JsonObject.h |
Include |
#include "Dom/JsonObject.h" |
class FJsonObject
A Json Object is a structure holding an unordered set of name/value pairs. In a Json file, it is represented by everything between curly braces {}.
Name | Description | ||
---|---|---|---|
|
void |
Duplicate ( |
|
|
void |
Duplicate ( |
|
|
const TArray... |
GetArrayField ( |
Get the field named FieldName as an array. |
|
bool |
GetBoolField ( |
Gets the field with the specified name as a boolean. |
|
TSharedPtr< ... |
GetField ( |
|
|
int32 |
GetIntegerField ( |
Gets a numeric field and casts to an int32 |
|
double |
GetNumberField ( |
Gets the field with the specified name as a number. |
|
const TShare... |
GetObjectField ( |
Gets the field with the specified name as a Json object. |
|
GetStringField ( |
Get the field named FieldName as a string. |
|
|
bool |
HasField ( |
Checks whether a field with the specified name exists in the object. |
|
bool |
HasTypedField ( |
Checks whether a field with the specified name and type exists in the object. |
|
void |
RemoveField ( |
Removes the field with the specified name. |
|
void |
SetArrayField ( |
Set an array field named FieldName and value of Array |
|
void |
SetBoolField ( |
Set a boolean field named FieldName and value of InValue |
|
void |
SetField ( |
Sets the value of the field with the specified name. |
|
void |
SetNumberField ( |
Add a field named FieldName with Number as value |
|
void |
SetObjectField ( |
Set an ObjectField named FieldName and value of JsonObject |
|
void |
SetStringField |
Add a field named FieldName with value of StringValue |
|
bool |
TryGetArrayField ( |
Try to get the field named FieldName as an array, or return false if it's another type |
|
bool |
TryGetBoolField ( |
Get the field named FieldName as a string. |
|
bool |
TryGetEnumArrayField |
Get the field named FieldName as an array of enums. |
|
TSharedPtr< ... |
TryGetField ( |
Attempts to get the field with the specified name. |
|
bool |
TryGetNumberField ( |
Get the field named FieldName as a number, and makes sure it's within uint32 range. |
|
bool |
TryGetNumberField ( |
Get the field named FieldName as a number. |
|
bool |
TryGetNumberField ( |
Get the field named FieldName as a number. |
|
bool |
TryGetNumberField ( |
Get the field named FieldName as a number, and makes sure it's within int8 range. |
|
bool |
TryGetNumberField ( |
Get the field named FieldName as a number, and makes sure it's within int16 range. |
|
bool |
TryGetNumberField ( |
Get the field named FieldName as a number, and makes sure it's within int32 range. |
|
bool |
TryGetNumberField ( |
Get the field named FieldName as a number. |
|
bool |
TryGetNumberField ( |
Get the field named FieldName as a number, and makes sure it's within uint8 range. |
|
bool |
TryGetNumberField ( |
Get the field named FieldName as a number, and makes sure it's within uint16 range. |
|
bool |
TryGetNumberField ( |
Get the field named FieldName as a number, and makes sure it's within uint64 range. |
|
bool |
TryGetObjectField ( |
Try to get the field named FieldName as an object, or return false if it's another type |
|
bool |
TryGetStringArrayField |
Get the field named FieldName as an array of strings. |
|
bool |
TryGetStringField |
Get the field named FieldName as a string. |