BSON

 view release on metacpan or  search on metacpan

devel/bson-types-survey.md  view on Meta::CPAN


This class has the following methods:

* `new`
* `value`
* `type` - one of various constants
* `TO_JSON` - numeric value
* `to_string` – string value
* `isa_number` – a function, not a method; determines if a value is a
  number or a string based on Perl's internal SV flags
* `guess_type` – a function, not a method; chooses a BSON type for a
  numeric value (double, int32, int64)

It overloads string and boolean operators.

It is implemented as a Mojo::Base class.

# `0x11 BSON_TYPE_TIMESTAMP`

`BSON_TYPE_TIMESTAMP` is implemented with type classes specific to each
codec implementation.



( run in 0.627 second using v1.01-cache-2.11-cpan-702932259ff )