UJsonBlueprintFunctionLibrary

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

JsonBlueprintUtilities

Header

/Engine/Plugins/JsonBlueprintUtilities/Source/JsonBlueprintUtilities/Public/JsonBlueprintFunctionLibrary.h

Include

#include "JsonBlueprintFunctionLibrary.h"

Syntax

UCLASS(BlueprintType)
class UJsonBlueprintFunctionLibrary : public UBlueprintFunctionLibrary

Functions

Name Description

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

FromFile

(
    UObject* WorldContextObject,
    const FFilePath& File,
    FJsonObjectWrapper& OutJsonObject
)

Creates a JsonObject from the provided Json file.

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

FromString

(
    UObject* WorldContextObject,
    const FString& JsonString,
    FJsonObjectWrapper& OutJsonObject
)

Creates a JsonObject from the provided Json string.

Public function Static UFunction BlueprintCallable, Category, Meta blueprintinternaluseonly, customthunk

bool

 

GetField

(
    const FJsonObjectWrapper& JsonObje...,
    const FString& FieldName,
    int32& OutValue
)

Gets the value of the specified field.

Public function Static UFunction BlueprintCallable, Category

bool

 

GetFieldNames

(
    const FJsonObjectWrapper& JsonObje...,
    TArray< FString >& FieldNames
)

Gets all field names on the JsonObject

Public function Static UFunction BlueprintCallable, Category

bool

 

HasField

(
    const FJsonObjectWrapper& JsonObje...,
    const FString& FieldName
)

Checks if the field exists on the object.

Public function Static UFunction BlueprintCallable, Category, Meta blueprintinternaluseonly, customthunk

bool

 

SetField

(
    const FJsonObjectWrapper& JsonObje...,
    const FString& FieldName,
    const int32& Value
)

Adds (new) or sets (existing) the value of the specified field.

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

ToFile

(
    const FJsonObjectWrapper& JsonObje...,
    const FFilePath& File
)

Creates a file from the provided JsonObject.

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

ToString

(
    const FJsonObjectWrapper& JsonObje...,
    FString& OutJsonString
)

Creates a Json string from the provided JsonObject.