| Data-Serializer documentation | Contained in the Data-Serializer distribution. |
Data::Serializer::JSON::Syck - Creates bridge between Data::Serializer and JSON::Syck
use Data::Serializer::JSON::Syck;
Module is used internally to Data::Serializer
Naoya Ito <naoya@bloghackers.net>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl(1), Data::Serializer(3), JSON::Syck(3).
| Data-Serializer documentation | Contained in the Data-Serializer distribution. |
package Data::Serializer::JSON::Syck; BEGIN { @Data::Serializer::JSON::Syck::ISA = qw(Data::Serializer) } use warnings; use strict; use JSON::Syck; use vars qw($VERSION @ISA); $VERSION = '0.02'; sub serialize { return JSON::Syck::Dump($_[1]); } sub deserialize { return JSON::Syck::Load($_[1]); } 1; __END__