Json to Struct and Json or Csv to datatable

Read the Json or CSV string into the DataTable at runtime, and then you can convert the content into a matching structure.

Get a Json or CSV string from a file or network or anywhere, read it into a DataTable at runtime, and then convert the content into a matching structure.

Json or CSV data needs a matching structure.(The field name must not be “Name” or a system reserved name)

The values in the structure can be all data types supported by UE4.

Features:

  • Parse JSON or CSV string into a DataTable
  • Parse DataTable into JSON or CSV string
  • Parse struct into a JSON string
  • Parse JSON string into a struct (Pending Approval)
  • Read file as string

Code Modules:

  • JsonCsvToDataTableToStruct (Runtime)

Number of Blueprints:0

Number of C++ Classes:1

Network Replicated: (No)

Supported Development Platforms: (“Windows”,“Mac”)

Supported Target Build Platforms: ( “Win64”, “Win32”, “Mac”, “Linux”)

note:In theory it should work on all platforms, but I have no equipment to test it, if you have problems using it, please let me know.

Documentation: https://docs.google.com/document/d/e…-AZwbZTQWh/pub

Example Project: Very easy to use, no sample project required