[Development] Json support for QtCore

marius.storm-olsen at nokia.com marius.storm-olsen at nokia.com
Mon Dec 12 13:16:49 CET 2011


Not serialized, mmapped. Big difference, both in the resources needed to load/save and in complexity.

-- 
.marius


> -----Original Message-----
> From: development-bounces+marius.storm-olsen=nokia.com at qt-
> project.org [mailto:development-bounces+marius.storm-
> olsen=nokia.com at qt-project.org] On Behalf Of ext Robin Burchell
> Sent: Sunday, December 11, 2011 10:41 AM
> To: Andre Somers
> Cc: development at qt-project.org
> Subject: Re: [Development] Json support for QtCore
> 
> On Sun, Dec 11, 2011 at 5:33 PM, Andre Somers <andre at familiesomers.nl>
> wrote:
> > However, like I said, I guess I am missing something here. Could you
> > explain what the relationship is between this binary format and the JSON
> > format, and how it helps parsing & creating JSON?
> 
> You're missing the bit where the binary format is not the only
> representation. JSON can be parsed into it, it's stored like this in
> memory, and it can be serialised back to it (obviously), but it can
> also be serialised back to JSON. Or QVariant.
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development



More information about the Development mailing list