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 File",
Meta=(AdvancedDisplay="ImportRowStruct", ScriptMethod="FillFromJSONFile"))
static bool FillDataTableFromJSONFile
(
UDataTable * DataTable,
const FString & JSONFilePath,
UScriptStruct * ImportRowStruct
)
Remarks
Empty and fill a Data Table from JSON file. True if the operation succeeds, check the log for errors if it didn't succeed.
Parameters
| Name | Description |
|---|---|
| JSONFilePath | The file path of the JSON file. |
| ImportRowStruct | Optional row struct to apply on import. If set will also force the import to run automated (no questions or dialogs). |