PHP 8.3.4 Released!

MongoDB\BSON\Symbol::jsonSerialize

(mongodb >=1.4.0)

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

Descripción

final public MongoDB\BSON\Symbol::jsonSerialize(): mixed

Parámetros

Esta función no tiene parámetros.

Valores devueltos

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

Nota: La salida es consitente con la función MongoDB\BSON\toJSON(), la cual usa el formato JSON extendido antiguo específico del controlador. Esto no necesariamente coincide con las represntaciones extendidas JSON » relajada o » canónica usadas por MongoDB\BSON\toRelaxedExtendedJSON() y MongoDB\BSON\toCanonicalExtendedJSON(), respectivamente.

Errores/Excepciones

Ver también

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top