unreal.JsonBlueprintFunctionLibrary

class unreal.JsonBlueprintFunctionLibrary(outer=None, name='None')

Bases: unreal.BlueprintFunctionLibrary

Json Blueprint Function Library

C++ Source:

  • Plugin: JsonBlueprintUtilities

  • Module: JsonBlueprintUtilities

  • File: JsonBlueprintFunctionLibrary.h

classmethod from_file(world_context_object, file) JsonObjectWrapper or None

Creates a JsonObject from the provided Json file.

Parameters
Returns

out_json_object (JsonObjectWrapper):

Return type

JsonObjectWrapper or None

classmethod from_string(world_context_object, json_string) JsonObjectWrapper or None

Creates a JsonObject from the provided Json string.

Parameters
  • world_context_object (Object) –

  • 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