The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

GX::Serializer - Base class for serializers

SYNOPSIS

None.

DESCRIPTION

This module provides the GX::Serializer class which extends the GX::Class::Object class.

METHODS

Constructor

new

Returns a new serializer object.

    $serializer = $serializer_class->new;
Returns:
Exceptions:

Public Methods

serialize

Serializes the given data.

    $string = $serializer->serialize( $data );
Arguments:
  • $data ( scalar )

Returns:
  • $string ( byte string )

Exceptions:

unserialize

Unserializes the given serialized data.

    $data = $serializer->unserialize( $string );
Arguments:
  • $string ( byte string )

Returns:
  • $data ( scalar )

Exceptions:

SUBCLASSES

The following classes inherit directly from GX::Serializer:

AUTHOR

Jörg A. Uzarek <uzarek@runlevelnull.de>

COPYRIGHT AND LICENSE

Copyright (c) 2009-2011 Jörg A. Uzarek.

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