Thank you all for informaion..

faldżip, thank you for suggesting xml option.
I am just wondering how sqlite will be useful, as it stores data in relational manner not in hierarchical level ?

Also, if you have any idea about the hierachical data type in C/C++ (I seem it mentioned in http://www.open-std.org/jtc1/sc22/wg...ierarchy.plain) lib then please let me know.

Any idea, which is better in efficiency, JSON or xml ?

Thank you.