[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] New RPM libezxml
Am Dienstag, den 15.06.2010, 20:35 +0200 schrieb Eero Tamminen
>
> IMHO INI style configuration files are nicer. Less code needed for
> parsing,
> it's easier & faster to read, file size is smaller and like XML, it's
kind
> of a standard.
Of course, that's true... but sometimes you will need XML parsing /
writing (btw. I tested writing with ezxml and it works fine, ( I also
tested for memory leaks) )
>I think XML strengths are elsewhere (complicated /
> arbitrarary data structures), but JSON[1] is partially replacing XML in
> those areas as it's more lightweight...
Is it really more lightweigt? How would you access JSON from C? I think
this doesn't really make much difference. At least, when accessed from C.
In JavaScript, JSON is nice to use. I think it's really better to use JSON
for Object serialization / de-serialization than XML. It's a no brainer to
create JAvaScript Objects from JSON. I believe creating JavaScript objects
from XML involves a lot more code...
Greets,
Ole