The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Eve::Json - a JSON converter adapter.

SYNOPSIS

    use Eve::Json;

    my $json = Eve::Json->new();

    my $json_string = $json->encode(reference => $reference);
    my $decoded_reference = $json->decode(string => $json_string);

DESCRIPTION

The Eve::Json class adapts the functionality of the JSON::XS module to provide JSON encoding and decoding features service.

METHODS

init()

encode()

Encodes a reference and returns its JSON string representation.

Arguments

reference

decode()

Decodes a JSON string and returns a reference to its decoded contents.

Arguments

string

SEE ALSO

JSON::XS
Eve::Class

LICENSE AND COPYRIGHT

Copyright 2012 Igor Zinovyev.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

AUTHOR

Igor Zinovyev