[wp-hackers] Why not json or xml instead of serialised data inDB

William P. Davis will.davis at gmail.com
Tue Jun 28 04:29:18 UTC 2011


I would imagine JSON and XML especially require more resources to turn back into an array than serializing. 
Sent from my BlackBerry® wireless device

-----Original Message-----
From: Claude Needham <gxxaxx at gmail.com>
Sender: wp-hackers-bounces at lists.automattic.com
Date: Mon, 27 Jun 2011 21:21:04 
To: <wp-hackers at lists.automattic.com>
Reply-To: wp-hackers at lists.automattic.com
Subject: Re: [wp-hackers] Why not json or xml instead of serialised data in
	DB

On Mon, Jun 27, 2011 at 7:26 PM, Deepak Mittal <dpac.mittal2 at gmail.com> wrote:
> For one, if there is just a change of single byte, the data goes corrupt. This
> creates a lot of unneeded trouble for non-technical users.

Using json in a php application I found that a single comma out of
place could render the data un-usable. Surely a result of my being a
newb to php. I use json well enough. But I have take as granted that
one had better keep p's and q's nice and tight.

Claude Needham
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list