read_datatable_from_package_file
Read a DataTable from any .uasset file on disk, including backups, via a throwaway mount so live assets remain untouched; returns rows as JSON.
Instructions
Read a DataTable from any .uasset file on disk (e.g. a backup) under a throwaway mount, so a live asset with the same /Game name is untouched; then unmounts and, by default, garbage-collects. Returns table_name, row_struct, row_count and rows as native JSON, or one row via row_name.
Returns: { package_file, mount_root, package_name, table_name, row_struct, row_count, rows:[{row_name,row_data}] } (or, for a single row_name, { ..., row_name, row_json, row_data })
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row_name | No | Optional single row to return; when omitted every row is returned | |
| file_path | No | Alias of package_file (OS path to the .uasset, e.g. "D:/Backup/DT_Items.uasset"); package_file wins when both are given | |
| object_name | No | Optional name of the DataTable object inside the package (defaults to the first UDataTable / the package's primary asset) | |
| package_file | No | Absolute filesystem path to the external .uasset (alias: file_path) | |
| collect_garbage | No | When true (default) force a GC purge of the throwaway load after reading |