GoLang bson_decode

request it (382)
GoLang replacement for PHP's bson_decode [edit | history]



Do you know a GoLang replacement for PHP's bson_decode? Write it!

PHP bson_decode

PHP original manual for bson_decode [ show | php.net ]

bson_decode

(PECL mongo >=1.0.1)

bson_decodeDeserializes a BSON object into a PHP array

Description

array bson_decode ( string $bson )

This function is very beta and entirely useless for 99% of users. It is only useful if you're doing something weird, such as writing your own driver on top of the PHP driver.

Parameters

bson

The BSON to be deserialized.

Return Values

Returns the deserialized BSON object.