Group
Extension

Matches 1

Template-Plugin-deJSON ( S/ST/STRYTOAST/Template-Plugin-deJSON-0.03.tar.gz, STRYTOAST, 2007; MetaCPAN )
Template-Plugin-deJSON/lib/Template/Plugin/deJSON.pm ( view source; MetaCPAN )
package Template::Plugin::deJSON;

=head1 NAME

  Template::Plugin::DeJSON - de-JSONify a JSON string

=head1 SYNOPSIS

  [%
    USE deJSON;
    hash = deJSON.deJSON(json_string);
    FOREACH field=ha
IPTION

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
thing 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.

It also copes with JSON strings within JSON strings, returning a nice data
structu

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.