nope, in xml everything is string :) also people on
wiki are more familiar
with xml than json
On Sat, Jan 26, 2013 at 2:23 PM, Platonides <platonides(a)gmail.com> wrote:
On 26/01/13 09:05, Petr Bena wrote:
I mean, it's cool to have it store arrays and
such in different format.
But what if array magically becomes a string? I can't handle so many
exception there. Or, I can, but I am lazy...
The configuration of huggle is meant to be edited by humans. And JSON is
stable only until someone manually start changing it. One removed quote,
and whole config file is broken.
One slash missing in xml, and the whole xml file is broken :)
I don't know what kind of data you want to store in the config file, but
I find strange that storing in JSON is much harder than in XML.
What if you expected a string and now you have a list of tags?
Maybe the problem is the way you are trying to read the information.
PS: Have you seen the grammar at
http://json.org/ ?
You also have a list of implementations there which you could use.
_______________________________________________
Huggle mailing list
Huggle(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/huggle
_______________________________________________
Huggle mailing list
Huggle(a)lists.wikimedia.org