Re: Json.php

From: Date: Mon, 16 Apr 2007 15:01:26 +0000
Subject: Re: Json.php
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-253009@lists.php.net to get a copy of this message
On Mon, 2007-04-16 at 10:49 -0400, tedd wrote: > At 8:41 AM -0500 4/16/07, Philip Thompson wrote: > >On Apr 16, 2007, at 4:40 AM, Jochem Maas wrote: > > > >>Otto Wyss wrote: > >>>Tijnema ! wrote: > >>>> > >>>>*ROFLMFAO*...Did you actually try google for json.php? > >>>>Second result: > >>>>http://mike.teczno.com/JSON/JSON.phps > >>>> > >>>This doesn't have a json_encode but needs a $json object which then > >>>could be used as $json->encode(...). Thanks anyway. > >> > >>that's going to make it completely impossible to use then isn't it. > >>no way you could possibly wrap the class/objects functionality in a wrapper > >>function. > >> > >>if (!function_exists('json_encode')) { > >> function json_encode($data) { > >> $json = new JSON; // or whatever the class is called. > >> return $json->encode($data); > >> } > >>} > >> > >>omg that was hard. > > > >Can't you just feel the love in the room? That's the kind of support > >I like to see! =P > > > >~PT > > > Yep, it must be spring. It's the difference between free support and paid support. In paid support the love is all fake... in free support, what you feel is the real deal :) Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#253009) next »