unreal.JsonBlueprintFunctionLibrary

class unreal.JsonBlueprintFunctionLibrary(outer: Object | None = None, name: Name | str = 'None')

Bases: BlueprintFunctionLibrary

Json Blueprint Function Library

C++ Source:

  • Plugin: JsonBlueprintUtilities

  • Module: JsonBlueprintUtilities

  • File: JsonBlueprintFunctionLibrary.h

classmethod from_file(file) JsonObjectWrapper or None

Creates a JsonObject from the provided Json file.

Parameters:

file (FilePath) –

Returns:

out_json_object (JsonObjectWrapper):

Return type:

JsonObjectWrapper or None

classmethod from_string(json_string) JsonObjectWrapper or None

Creates a JsonObject from the provided Json string.

Parameters:

json_string (str) –

Returns:

out_json_object (JsonObjectWrapper):

Return type:

JsonObjectWrapper or None

classmethod get_field_names(json_object) Array[str] or None

Gets all field names on the JsonObject

Parameters:

json_object (JsonObjectWrapper) –

Returns:

field_names (Array[str]):

Return type:

Array[str] or None

classmethod has_field(json_object, field_name) bool

Checks if the field exists on the object.

Parameters:
Return type:

bool

classmethod to_file(json_object, file) bool

Creates a file from the provided JsonObject.

Parameters:
Return type:

bool

classmethod to_string(json_object) str or None

Creates a Json string from the provided JsonObject.

Parameters:

json_object (JsonObjectWrapper) –

Returns:

out_json_string (str):

Return type:

str or None