Good point. Handy feature. I might have to see if that can replace my modified mark smith lib in some of my projects. Is mergJSON dual licensed?
On Tue, Jun 4, 2013 at 6:58 PM, Monte Goulding <mo...@sweattechnologies.com>wrote: > > On 05/06/2013, at 9:40 AM, Andrew Kluthe wrote: > > > Hmm, I wonder why your back end developer would be looking to use strings > > in the place of integers > > Well... they look like numbers in the sample data we have but they might > not always be numbers. It's risky just assuming if an element is a number > that it should be JSON encoded as a number... LiveCode might not care but > the thing on the other end more than likely will break if it doesn't get > the right type. mergJSON does this by allowing you to force elements as > strings and also to pre-parse the array to ensure things are encoded > correctly... things like an empty element might be meant to be an empty > JSON object or array. > > Cheers > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe and...@ctech.me _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode