php8.5
Home/ Manual/ bson / minkey/ MongoDB\BSON\MinKey::jsonSerialize

MongoDB\BSON\MinKey::jsonSerialize

PHP function Edit on GitHub ✎

(mongodb >=1.2.0)

Returns a representation that can be converted to JSON

Description

MongoDB\BSON\MinKey::jsonSerialize(): mixed

Parameters Parameters

Return Values

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

Extended-json

Errors/Exceptions

See Also

Source: reference/mongodb/bson/minkey/jsonserialize.xml · from the official PHP manual (php/doc-en)