# Make export/write methods for Data Table available at runtime. PLEASE!

**URL:** <https://forums.unrealengine.com/t/make-export-write-methods-for-data-table-available-at-runtime-please/1329336>\
**Category:** Feedback & Requests\
**Tags:** data, datatable, data-table, unreal-engine, FeatureRequest, CPP\
**Created:** [October 11, 2023, 1:45pm UTC](https://forums.unrealengine.com/t/make-export-write-methods-for-data-table-available-at-runtime-please/1329336 "2023-10-11T13:45:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![najmm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@najmm](https://forums.unrealengine.com/u/najmm)\
**Post date:** [October 11, 2023, 1:45pm UTC](https://forums.unrealengine.com/t/make-export-write-methods-for-data-table-available-at-runtime-please/1329336/1 "2023-10-11T13:45:11Z")

</div>

Can we for the love of God make the following methods from `UDataTable` be available at runtime??

```auto
/** Output entire contents of table as a string */
ENGINE_API FString GetTableAsString(const EDataTableExportFlags InDTExportFlags = EDataTableExportFlags::None) const;

/** Output entire contents of table as CSV */
ENGINE_API FString GetTableAsCSV(const EDataTableExportFlags InDTExportFlags = EDataTableExportFlags::None) const;

/** Output entire contents of table as JSON */
ENGINE_API FString GetTableAsJSON(const EDataTableExportFlags InDTExportFlags = EDataTableExportFlags::None) const;

/** Output entire contents of table as JSON */
template<typename CharType = TCHAR>
ENGINE_API bool WriteTableAsJSON(const TSharedRef< TJsonWriter<CharType, TPrettyJsonPrintPolicy<CharType> > >& JsonWriter, const EDataTableExportFlags InDTExportFlags = EDataTableExportFlags::None) const;

/** Output entire contents of table as a JSON Object*/
template<typename CharType = TCHAR>
ENGINE_API bool WriteTableAsJSONObject(const TSharedRef< TJsonWriter<CharType, TPrettyJsonPrintPolicy<CharType> > >& JsonWriter, const EDataTableExportFlags InDTExportFlags = EDataTableExportFlags::None) const;

/** Output the fields from a particular row (use RowMap to get RowData) to an existing JsonWriter */
template<typename CharType = TCHAR>
ENGINE_API bool WriteRowAsJSON(const TSharedRef< TJsonWriter<CharType, TPrettyJsonPrintPolicy<CharType> > >& JsonWriter, const void* RowData, const EDataTableExportFlags InDTExportFlags = EDataTableExportFlags::None) const;

```

Also, I did some digging and I believe some time ago the import/read methods were also editor only, but now they’ve been made available at runtime.  
So it’d great if you guys can do the same for these export/write methods.

Thanks!

---

<div class="post-metadata">

**Author:** ![najmm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@najmm](https://forums.unrealengine.com/u/najmm)\
**Post date:** [October 11, 2023, 2:04pm UTC](https://forums.unrealengine.com/t/make-export-write-methods-for-data-table-available-at-runtime-please/1329336/2 "2023-10-11T14:04:05Z")

</div>

Yeah so I was right. See this:  
[https://github.com/EpicGames/UnrealEngine/blob/15e82e0d2980a7dea85c02452183de92d8f992a5/Engine/Source/Runtime/Engine/Classes/Engine/DataTable.h](https://github.com/EpicGames/UnrealEngine/blob/15e82e0d2980a7dea85c02452183de92d8f992a5/Engine/Source/Runtime/Engine/Classes/Engine/DataTable.h)

---

<div class="post-metadata">

**Author:** ![najmm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@najmm](https://forums.unrealengine.com/u/najmm)\
**Post date:** [October 11, 2023, 2:08pm UTC](https://forums.unrealengine.com/t/make-export-write-methods-for-data-table-available-at-runtime-please/1329336/3 "2023-10-11T14:08:01Z")

</div>

This is the commit that seems to have made the import/write methods available at runtime:  
[https://github.com/EpicGames/UnrealEngine/blob/c3818ebea9ccf31bb6fe545fc2ab524fa9c88105/Engine/Source/Runtime/Engine/Classes/Engine/DataTable.h](https://github.com/EpicGames/UnrealEngine/blob/c3818ebea9ccf31bb6fe545fc2ab524fa9c88105/Engine/Source/Runtime/Engine/Classes/Engine/DataTable.h)
