AMF::Perl::IO::Serializer
Class used to convert physical perl objects into binary data.
- Changed deduceType() to return the value too, as it may be changed
inside, and to handle empty string ('') as a string.
- Made basic data type determination work for both scalars and
scalarrefs.
- Now we check if we are sending a recordset and setting column types
accordingly.
- Patch from Tilghman Lesher that detects numbers and dates in strings and
sets return type accordingly.
- Patch from Kostas Chatzikokolakis handling encoding and sending null
value.
- Changed writeData to set type to "NULL" when the incoming data
is undef. Previously it became a String, just like other scalars.
- Changed PHP's writeRecordset to a generic writeAMFObject. Verified
Recordset support.
- Function writeObject should return the same as writeHash. This assumes
that all meaningful data are stored as hash keys.
Hey! The above document had some coding errors, which are explained
below:
- Around line 19:
- '=item' outside of any '=over'
- Around line 22:
- You forgot a '=back' before '=head2'
- Around line 24:
- '=item' outside of any '=over'
- Around line 28:
- You forgot a '=back' before '=head2'
- Around line 30:
- '=item' outside of any '=over'
- Around line 35:
- You forgot a '=back' before '=head2'
- Around line 37:
- '=item' outside of any '=over'
- Around line 42:
- You forgot a '=back' before '=head2'
- Around line 44:
- '=item' outside of any '=over'
=over without closing =back