Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/Runtime/Engine/Kismet/UDataTableFunctionLibrary
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Kismet/DataTableFunctionLibrary.h |
| Include | #include "Kismet/DataTableFunctionLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/DataTableFunctionLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | DataTable",
DisplayName="Fill Data Table from JSON String",
Meta=(AdvancedDisplay="ImportRowStruct", ScriptMethod="FillFromJSONString"))
static bool FillDataTableFromJSONString
(
UDataTable * DataTable,
const FString & JSONString,
UScriptStruct * ImportRowStruct
)
Remarks
Empty and fill a Data Table from JSON string. True if the operation succeeds, check the log for errors if it didn't succeed.
Parameters
| Name | Description |
|---|---|
| JSONString | The Data that representing the contents of a JSON file. |
| ImportRowStruct | Optional row struct to apply on import. If set will also force the import to run automated (no questions or dialogs). |