array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'mongodb-bson-utcdatetime.jsonserialize.php', 1 => 'MongoDB\\BSON\\UTCDateTime::jsonSerialize', ), 'up' => array ( 0 => 'class.mongodb-bson-utcdatetime.php', 1 => 'MongoDB\\BSON\\UTCDateTime', ), 'prev' => array ( 0 => 'mongodb-bson-utcdatetime.construct.php', 1 => 'MongoDB\\BSON\\UTCDateTime::__construct', ), 'next' => array ( 0 => 'mongodb-bson-utcdatetime.serialize.php', 1 => 'MongoDB\\BSON\\UTCDateTime::serialize', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/bson/utcdatetime/jsonserialize.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(mongodb >=1.2.0)
MongoDB\BSON\UTCDateTime::jsonSerialize — Returns a representation that can be converted to JSON
Diese Funktion besitzt keine Parameter.
Returns data which can be serialized by json_encode() to produce an extended JSON representation of the MongoDB\BSON\UTCDateTime.
Hinweis: Die Ausgabe entspricht der Funktion MongoDB\BSON\toJSON(), die das alte, treiberspezifische erweiterte JSON-Format verwendet. Dies entspricht nicht unbedingt den erweiterten JSON-Formaten » relaxed oder » canonical, die von MongoDB\BSON\toRelaxedExtendedJSON() bzw. MongoDB\BSON\toCanonicalExtendedJSON() verwendet werden.