Name : perl-BSON
| |
Version : 1.12.1
| Vendor : obs://build_opensuse_org/home:interstar001
|
Release : 2.1
| Date : 2020-10-03 23:46:08
|
Group : Development/Libraries/Perl
| Source RPM : perl-BSON-1.12.1-2.1.src.rpm
|
Size : 0.26 MB
| |
Packager : (none)
| |
Summary : BSON serialization and deserialization
|
Description :
This class implements a BSON encoder/decoder (\"codec\"). It consumes \"documents\" (typically hash references) and emits BSON strings and vice versa in accordance with the at http://bsonspec.org.
BSON is the primary data representation for MongoDB. While this module has several features that support MongoDB-specific needs and conventions, it can be used as a standalone serialization format.
The codec may be customized through attributes on the codec option as well as encode/decode specific options on methods:
my $codec = BSON->new( \\%global_attributes );
my $bson = $codec->encode_one( $document, \\%encode_options ); my $doc = $codec->decode_one( $bson , \\%decode_options );
Because BSON is strongly-typed and Perl is not, this module supports a number of \"type wrappers\" – classes that wrap Perl data to indicate how they should serialize. The BSON::Types module describes these and provides associated helper functions. See PERL-BSON TYPE MAPPING for more details.
When decoding, type wrappers are used for any data that has no native Perl representation. Optionally, all data may be wrapped for precise control of round-trip encoding.
Please read the configuration attributes carefully to understand more about how to control encoding and decoding.
At compile time, this module will select an implementation backend. It will prefer \'BSON::XS\' (released separately) if available, or will fall back to BSON::PP (bundled with this module). See ENVIRONMENT for a way to control the selection of the backend.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/interstar001:/Centreon/SLE_15_SP2/noarch |