Choose your operating system:
Windows
macOS
Linux
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 | ||
---|---|---|---|
|
Duplicate ( |
||
|
const TArray... |
GetArrayField ( |
Get the field named FieldName as an array. |
|
GetBoolField ( |
Gets the field with the specified name as a boolean. |
|
|
TSharedPtr< ... |
GetField ( |
|
|
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. |
|
|
HasField ( |
Checks whether a field with the specified name exists in the object. |
|
|
HasTypedField ( |
Checks whether a field with the specified name and type exists in the object. |
|
|
RemoveField ( |
Removes the field with the specified name. |
|
|
SetArrayField ( |
Set an array field named FieldName and value of Array |
|
|
SetBoolField |
Set a boolean field named FieldName and value of InValue |
|
|
SetField ( |
Sets the value of the field with the specified name. |
|
|
SetNumberField ( |
Add a field named FieldName with Number as value |
|
|
SetObjectField ( |
Set an ObjectField named FieldName and value of JsonObject |
|
|
SetStringField |
Add a field named FieldName with value of StringValue |
|
|
TryGetArrayField ( |
Try to get the field named FieldName as an array, or return false if it's another type |
|
|
TryGetBoolField |
Get the field named FieldName as a string. |
|
|
TryGetEnumArrayField |
Get the field named FieldName as an array of enums. |
|
|
TSharedPtr< ... |
TryGetField ( |
Attempts to get the field with the specified name. |
|
TryGetNumberField |
Get the field named FieldName as a number, and makes sure it's within uint16 range. |
|
|
TryGetNumberField |
Get the field named FieldName as a number, and makes sure it's within uint8 range. |
|
|
TryGetNumberField |
Get the field named FieldName as a number. |
|
|
TryGetNumberField |
Get the field named FieldName as a number, and makes sure it's within int32 range. |
|
|
TryGetNumberField |
Get the field named FieldName as a number, and makes sure it's within int16 range. |
|
|
TryGetNumberField ( |
Get the field named FieldName as a number. |
|
|
TryGetNumberField |
Get the field named FieldName as a number, and makes sure it's within uint32 range. |
|
|
TryGetNumberField ( |
Get the field named FieldName as a number. |
|
|
TryGetNumberField |
Get the field named FieldName as a number, and makes sure it's within int8 range. |
|
|
TryGetNumberField |
Get the field named FieldName as a number, and makes sure it's within uint64 range. |
|
|
TryGetObjectField ( |
Try to get the field named FieldName as an object, or return false if it's another type |
|
|
TryGetStringArrayField |
Get the field named FieldName as an array of strings. |
|
|
TryGetStringField |
Get the field named FieldName as a string. |