Navigation
API > API/Plugins > API/Plugins/JsonBlueprintUtilities
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UJsonBlueprintFunctionLibrary
References
| Module | JsonBlueprintUtilities |
| Header | /Engine/Plugins/JsonBlueprintUtilities/Source/JsonBlueprintUtilities/Public/JsonBlueprintFunctionLibrary.h |
| Include | #include "JsonBlueprintFunctionLibrary.h" |
Syntax
UCLASS&40;BlueprintType&41;
class UJsonBlueprintFunctionLibrary : public UBlueprintFunctionLibrary
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | FromFile
(
UObject* WorldContextObject, |
Creates a JsonObject from the provided Json file. | |
| bool | FromString
(
UObject* WorldContextObject, |
Creates a JsonObject from the provided Json string. | |
| bool | GetField
(
const FJsonObjectWrapper& JsonObject, |
Gets the value of the specified field. | |
| bool | GetFieldNames
(
const FJsonObjectWrapper& JsonObject, |
Gets all field names on the JsonObject | |
| bool | HasField
(
const FJsonObjectWrapper& JsonObject, |
Checks if the field exists on the object. | |
| bool | SetField
(
const FJsonObjectWrapper& JsonObject, |
Adds (new) or sets (existing) the value of the specified field. | |
| bool | StructToJsonString
(
const int32& Struct, |
||
| bool | ToFile
(
const FJsonObjectWrapper& JsonObject, |
Creates a file from the provided JsonObject. | |
| bool | ToString
(
const FJsonObjectWrapper& JsonObject, |
Creates a Json string from the provided JsonObject. |