View Single Post
kbs666
Senior Member
 
Join Date: Oct 2014
Location: Chicago, IL
Posts: 1,690

Old January 3rd, 2020, 08:34 AM
Quote:
Originally Posted by Farling View Post
Export is simple.

Import is complex, since you have to map the "seemingly random" set of fields in the file into the relevant fields in your own application.
JSON self describes. Generally speaking you have two options when reading one. In languages like JS you simply create the objects described. In cases where that is not possible or desirable you need to know what the data describes and deal with it correctly.

For II I would assume it wants monster entries in the same format every time, maybe with some fields being optional. For that sort of data I'd always use JSON or XML never CSV.

I pretty much never use CSV. It's not terribly human readable and it doesn't self describe.

my Realm Works videos
https://www.youtube.com/channel/UCZU...4DwXXkvmBXQ9Yw
kbs666 is offline   #14 Reply With Quote