Assets of The Season
Assets updates
Json to Struct and Json or Csv to datatable

Json to Struct and Json or Csv to datatable

Updated
2025-03-19
Free
Code Plugins
Engine version
5.0/5.4
Download type
Engine Plugin
File size
124 MB
Registration required
Description

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.

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

 

V2 version of Json and Struct conversion function has fixed these problems, but if it is converted to DataTable, still need to pay attention.

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

Please avoid spaces in the field names, because after the project is packaged, the spaces in the field names will be modified in the Unreal system.

As a result, the fields with spaces cannot be parsed correctly after the project is packaged. This issue was raised by "CedkM" and Test it out together.

 

Open the Content Browser window, in the upper right corner of the Content Browser, click the Settings button, This will open a menu where you can adjust various settings for the current instance of the Content Browser, Under the View category, check the Show Plugin Content option, Find the Json to Struct and Json or Csv to datatable->Content->Json to Struct and Json or Csv to datatable directory, There are sample levels and related assets inside.

 

Technical Details

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
  •  Read file as string

Code Modules:

  •  JsonCsvToDataTableToStruct (Runtime)

 

Check out ywt20's other products here : https://www.unrealengine.com/marketplace/en-US/profile/YWT20

 

Number of C++ Classes:1

Network Replicated: (No)

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

Supported Target Build Platforms: ( "Win64", "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.

Example Project:

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
  •  Read file as string

Code Modules:

  •  JsonCsvToDataTableToStruct (Runtime)

 

Check out ywt20's other products here : https://www.unrealengine.com/marketplace/en-US/profile/YWT20

 

Number of C++ Classes:1

Network Replicated: (No)

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

Supported Target Build Platforms: ( "Win64", "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.

Example Project:

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
  •  Read file as string

Code Modules:

  •  JsonCsvToDataTableToStruct (Runtime)

 

Check out ywt20's other products here : https://www.unrealengine.com/marketplace/en-US/profile/YWT20

 

Number of C++ Classes:1

Network Replicated: (No)

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

Supported Target Build Platforms: ( "Win64", "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.

Example Project: https://onedrive.live.com/?redeem=aHR0cHM6Ly8xZHJ2Lm1zL3UvcyFBclVYS2U5cmM1Y3lra2d0by1vMWQxWWxhX2ltP2U9c2lSQTQ1&cid=3297736BEF2917B5&id=3297736BEF2917B5%212376&parId=3297736BEF2917B5%212286&o=OneUp

Documentation: https://docs.google.com/document/d/e/2PACX-1vSgQCTz5b5ThH2rsRls7OyGnEQM7g0mhKdG5JhSYQOr8miM-O5ZzyznX2FEUu5SUnQaPp-AZwbZTQWh/pub

 

Comments
Comments is not yet
Add Comment
Please register
Other interesting assets