UOdinJsonValue
Blueprintable FJsonValue wrapper
- Header:
#include "OdinJsonValue.h" - Module:
Odin - Inherits from:
UObject - Blueprint: Blueprint type, Blueprintable · Blueprint reference
Overview
Functions
| Name | Description |
|---|---|
ConstructJsonValueNumber | Creates a JSON value that holds a number. |
ConstructJsonValueString | Creates a JSON value that holds a string. |
ConstructJsonValueBool | Creates a JSON value that holds a boolean. |
ConstructJsonValueArray | Creates a JSON value that holds an array of JSON values. |
ConstructJsonValueObject | Creates a JSON value that holds a JSON object. |
ConstructJsonValue | |
GetRootValue | |
SetRootValue | |
GetType | Returns the type of the value. |
GetTypeString | Returns the type of the value as a string. |
IsNull | Returns true if the value is null. |
AsNumber | Returns the value as a number. |
AsString | Returns the value as a string. |
AsBool | Returns the value as a boolean. |
AsArray | Returns the value as an array of JSON values. |
AsObject | Returns the value as a JSON object. |
Functions
ConstructJsonValueNumber
Static · Blueprint: Construct Json Number Value
Creates a JSON value that holds a number.
| Parameter | Type | Description |
|---|---|---|
WorldContextObject | UObject* | |
Number | float |
Returns UOdinJsonValue*
ConstructJsonValueString
Static · Blueprint: Construct Json String Value
Creates a JSON value that holds a string.
| Parameter | Type | Description |
|---|---|---|
WorldContextObject | UObject* | |
StringValue | const FString& |
Returns UOdinJsonValue*
ConstructJsonValueBool
Static · Blueprint: Construct Json Bool Value
Creates a JSON value that holds a boolean.
| Parameter | Type | Description |
|---|---|---|
WorldContextObject | UObject* | |
InValue | bool |
Returns UOdinJsonValue*
ConstructJsonValueArray
Static · Blueprint: Construct Json Array Value
Creates a JSON value that holds an array of JSON values.
| Parameter | Type | Description |
|---|---|---|
WorldContextObject | UObject* | |
InArray | const TArray<UOdinJsonValue*>& |
Returns UOdinJsonValue*
ConstructJsonValueObject
Static · Blueprint: Construct Json Object Value
Creates a JSON value that holds a JSON object.
| Parameter | Type | Description |
|---|---|---|
WorldContextObject | UObject* | |
JsonObject | UOdinJsonObject* |
Returns UOdinJsonValue*
ConstructJsonValue
Static
| Parameter | Type | Description |
|---|---|---|
WorldContextObject | UObject* | |
InValue | const TSharedPtr<FJsonValue>& |
Returns UOdinJsonValue*
GetRootValue
Returns TSharedPtr<FJsonValue>&
SetRootValue
| Parameter | Type | Description |
|---|---|---|
JsonValue | TSharedPtr<FJsonValue>& |
GetType
Const · Blueprint: Get Type
Returns the type of the value.
Returns EOJson::Type
GetTypeString
Const · Blueprint: Get Type String
Returns the type of the value as a string.
Returns FString
IsNull
Const · Blueprint: Is Null
Returns true if the value is null.
Returns bool
AsNumber
Const · Blueprint: As Number
Returns the value as a number.
Returns float
AsString
Const · Blueprint: As String
Returns the value as a string.
Returns FString
AsBool
Const · Blueprint: As Bool
Returns the value as a boolean.
Returns bool
AsArray
Const · Blueprint: As Array
Returns the value as an array of JSON values.
Returns TArray<UOdinJsonValue*>
AsObject
Const · Blueprint: As Object
Returns the value as a JSON object.
Returns UOdinJsonObject*