[OGDev] Data output (was: Hack Day (not ours, but maybe))
Chris Prather
chris at prather.org
Wed Apr 25 15:47:23 BST 2007
On Apr 25, 2007, at 9:32 AM, Kake L Pugh wrote:
> On Wed 25 Apr 2007, Earle Martin <openguides at downlode.org> wrote:
>> Your recent change to using templates for the output theoretically
>> makes it very easy for us to implement.
>
> We don't even need templates for JSON output; there's a Perl module
> (called JSON, unsurprisingly) that turns a Perl object directly
> into JSON.
There is JSON::Any which (attempts) to normalize the APIs of the half
dozen JSON modules on CPAN.
*cough* and patches in Trac that I think implement this for a
sufficiently old version of OG.
Though I'm not sure how much of this works the way you want. I wrote
it at Nacho's request for the Victoria Guide.
-Chris
More information about the OpenGuides-Dev
mailing list