gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > XML, JSON, etc.

#121940 - HyperHacker - Thu Mar 15, 2007 9:35 pm

In this post, chishm wrote:
Sorry, I've been really busy with Nitro Hax. Writing a GUI and XML parser from scratch in C++ isn't as easy as I thought it would be.
I have an XML parser class you could use. It needs some fine tuning but it works well.
_________________
I'm a PSP hacker now, but I still <3 DS.

#121941 - Lick - Thu Mar 15, 2007 9:37 pm

Chishm: use JSON instead of XML. It's seriously better for data storage.
_________________
http://licklick.wordpress.com

#121970 - josath - Fri Mar 16, 2007 1:03 am

me <3 JSON

#122048 - tepples - Fri Mar 16, 2007 7:20 pm

And if you need a way to represent a dictionary of dictionaries that's cheaper even than JSON (ECMAScript object notation), look into the INI format. I have found it a good fit for representing preferences.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#122117 - chishm - Sat Mar 17, 2007 2:18 am

XML is used to be compatible with ARDS subscriptions, so I have no real choice in how I store the data.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com

#122202 - HyperHacker - Sat Mar 17, 2007 9:03 pm

I was wondering where that post went. <_<
_________________
I'm a PSP hacker now, but I still <3 DS.