Hello!

In on of my applications, I have a customized database system (that is, I have a class that manages a database that should use files stored closed to the executable instead of a SQL or similar database system). The data to be stored is relatively simple: sets of data related to a given item.

The question I have is which is the best way of storing this data... For now, I'm writing it to common text files using CSV style (each line is an item, each data of that item is separated by a semicolon), but I know that Qt has support for JSON and XML archives. My doubt is if it wouldn't be better to use either of this two other alternatives instead of the methodology I'm currently using (and maybe even another option I'm not aware of).

So my question is: which is the best system to use? (or even "how can I know which is the best system" - without having to go to complicated comparative tests). And does the use of Qt interfere somehow in this decision? (For example lets say Qt's JSON infraestructure is not only faster than XMLs, but also less complicated to learn and apply)


Thanks,

Momergil