View Single Post
Old 11-21-2009, 06:23 AM   #129
hansel
JSR FFD2
hansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheesehansel can extract oil from cheese
 
hansel's Avatar
 
Posts: 305
Karma: 1045
Join Date: Aug 2008
Location: Rotterdam, Netherlands, Europe, Sol 3
Device: iliad
Quote:
Originally Posted by Iņigo View Post
Well, I don't like XML so much, I usually prefer simpler solutions, like =pair values or JSON.
I agree that JSON is 'nicer' than XML (easier to read and edit for humans). But apart from the syntax JSON and XML are almost the same thing (for configuration purpose). Both JSON and XML are much more powerful than plain ini files because the allow you to store structured data.

There are JSON implementations for Lua, like http://json.luaforge.net/ (I did not try it)
hansel is offline   Reply With Quote