MongoDB\BSON\MinKey
PHP Manual

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 )

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

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

Note: La sortie est cohérente avec la fonction MongoDB\BSON\toJSON(), qui utilise le format JSON étendu spécifique au pilote. Cela ne correspond pas nécessairement aux représentations JSON étendues » décontractées ou » canoniques utilisées par MongoDB\BSON\toRelaxedExtendedJSON() et MongoDB\BSON\toCanonicalExtendedJSON(), respectivement.

Erreurs / Exceptions

Voir aussi


MongoDB\BSON\MinKey
PHP Manual