Quote:
Originally Posted by Farling
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.