NAME
Template::Plugin::DeJSON - de-JSONify a JSON string
SYNOPSIS
[%
USE deJSON;
hash = deJSON.deJSON(json_string);
FOREACH field=hash;
field; field.value;
END;
%]
DESCRIPTION
Well, I needed this. I had JSON string things flying around between servers, and passed into templates. (If you must know, objects were stringified using JSON, and bit-shifted around the world.) It seemed to me I needed a plugin to take those strings and turn them into something a bit more useful.
So it takes a JSON string, and gives you back a hash. Or me. It gives it back to me. YMMV.
AUTHOR
Stray Taoist <mwk@strayLALALAtoaster.co.uk>
COPYRIGHT
Copyright (c) 2007 StrayTaoist
This module is free software; you can redistribute it or modify it under the same terms as Perl itself.
STUFF
o things
THINGS
o stuff