NAME

Nile::Serialization - Base class for Nile::Serializer and Nile::Deserializer

SYNOPSIS

$app->freeze;
$app->thaw;

DESCRIPTION

Nile::Serialization - Base class for Nile::Serializer and Nile::Deserializer

This is a base class for Nile::Serializer and Nile::Deserializer modules. It also provides direct access to the serialization classes.

Json

$json = $app->freeze->Json;
$encoded = $json->utf8->encode($data);

Returns JSON object.

Yaml

$yaml = $app->freeze->Yaml;

Returns YAML object.

Storable

$json = $app->freeze->Storable;

Returns "Storable" string. Storable deos not suppot new method.

Dumper

$dumper = $app->freeze->Dumper;

Returns Data::Dumper object.

Xml

$xml = $app->freeze->Xml;

Returns XML::TreePP object.

Bugs

This project is available on github at https://github.com/mewsoft/Nile.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Nile.

SOURCE

Source repository is at https://github.com/mewsoft/Nile.

SEE ALSO

See Nile for details about the complete framework.

AUTHOR

Ahmed Amin Elsheshtawy, احمد امين الششتاوى <mewsoft@cpan.org> Website: http://www.mewsoft.com

COPYRIGHT AND LICENSE

Copyright (C) 2014-2015 by Dr. Ahmed Amin Elsheshtawy احمد امين الششتاوى mewsoft@cpan.org, support@mewsoft.com, https://github.com/mewsoft/Nile, http://www.mewsoft.com

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.