GoLang MongoDB\BSON\MinKey::jsonSerialize

request it (287)
GoLang replacement for PHP's MongoDB\BSON\MinKey::jsonSerialize [edit | history]



Do you know a GoLang replacement for PHP's MongoDB\BSON\MinKey::jsonSerialize? Write it!

PHP MongoDB\BSON\MinKey::jsonSerialize

PHP original manual for MongoDB\BSON\MinKey::jsonSerialize [ show | php.net ]

MongoDB\BSON\MinKey::jsonSerialize

(mongodb >=1.2.0)

MongoDB\BSON\MinKey::jsonSerializeReturns a representation that can be converted to JSON

Description

final public mixed MongoDB\BSON\MinKey::jsonSerialize ( void )

Parameters

This function has no parameters.

Return Values

Returns data which can be serialized by json_encode() to produce an extended JSON representation of the MongoDB\BSON\MinKey.

The output is consistent with the MongoDB\BSON\toJSON() function, which represents the driver specifc legacy extended JSON format, which does not necessarily match the relaxed or » canonical extended JSON representation.

Errors/Exceptions

See Also