export_data_table_as_json
Export an Unreal DataTable to JSON with native serialization so TMap, soft references, and GameplayTags are preserved; optionally save the array of row objects to a UTF-8 file.
Instructions
Export a whole DataTable to JSON with the native exporter (read-only), so TMap<Enum,SoftClass>, soft references and GameplayTags survive, unlike get_data_table_rows. Returns row_struct, row_count and the json string (an array of row objects), optionally also written to a UTF-8 file.
Returns: { table_path, row_struct, row_count, json, written_to? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | Optional OS path to also write the JSON string to (echoed back as written_to) | |
| data_table | No | Alias of table_path: pass one of the two. | |
| table_path | No | Full asset path of the DataTable. |