« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 17 for toJSON (0.001 sec.)
MongoDB\BSON\toJSON — Returns the Legacy Extended JSON representation of a BSON... 14811
MongoDB\BSON\toJSON (mongodb >=1.0.0) MongoDB\BSON\toJSON — Returns the Legacy Extended JSON representation of a BSON value 警告 This function has been DEPRECATED as of extension version 1.20.0 and was removed in 2.0. Applications should us ... \Document::toCanonicalExtendedJSON() or MongoDB\BSON\Document::toRelaxedExtendedJSON() instead. 説明 function MongoDB\BSON\toJSON ( string $bson ): string Converts a BSON string to its » Legacy Extended JSON representation. 注意 : There exist several J ... an unexpected » libbson error. 変更履歴 バージョン 説明 PECL mongodb 2.0.0 This function was removed. 例 例1 MongoDB\BSON\toJSON() example <?php $documents = [ [ 'null' => null ], [ 'boolean' => true ], [ 'string' => 'foo' ], [ 'int32' => 123 ], [ 'in ... goDB\BSON\MaxKey ], ]; foreach ( $documents as $document ) { $bson = MongoDB\BSON\fromPHP ( $document ); echo MongoDB\BSON\toJSON ( $bson ), "\n" ; } ?> 上の例の出力は以下となります。 { "null" : null } { "boolean" : true } { "string" : "foo" } { "int32 ...
https://man.mtool.work/php/8.3/function.mongodb.bson-tojson.html
関数 | PHP 8.3 9431
関数 目次 MongoDB\BSON\fromJSON — Returns the BSON representation of a JSON value MongoDB\BSON\fromPHP — Returns the BSON representation of a PHP value MongoDB\BSON\toCanonicalExtendedJSON — Returns the Canonical Extended JSON representatio ... n of a BSON value MongoDB\BSON\toJSON — Returns the Legacy Extended JSON representation of a BSON value MongoDB\BSON\toPHP — Returns the PHP representation of a ...
https://man.mtool.work/php/8.3/ref.bson.functions.html
MongoDB\BSON\Binary::jsonSerialize — Returns a representation that can be conve... 8362
MongoDB\BSON\Binary::jsonSerialize (mongodb >=1.2.0) MongoDB\BSON\Binary::jsonSerialize — Returns a representation that can be converted to JSON 説明 final public function MongoDB\BSON\Binary::jsonSerialize (): mixed パラメータ この関数には ... produce an extended JSON representation of the MongoDB\BSON\Binary . 注意 : The output is consistent with the MongoDB\BSON\toJSON() function, which uses the driver-specific legacy extended JSON format. This does not necessarily match the » relaxed or » ...
https://man.mtool.work/php/8.3/mongodb-bson-binary.jsonserialize.html
MongoDB\BSON\DBPointer::jsonSerialize — Returns a representation that can be co... 8362
MongoDB\BSON\DBPointer::jsonSerialize (mongodb >=1.4.0) MongoDB\BSON\DBPointer::jsonSerialize — Returns a representation that can be converted to JSON 説明 final public function MongoDB\BSON\DBPointer::jsonSerialize (): mixed パラメータ この ... duce an extended JSON representation of the MongoDB\BSON\DBPointer . 注意 : The output is consistent with the MongoDB\BSON\toJSON() function, which uses the driver-specific legacy extended JSON format. This does not necessarily match the » relaxed or » ...
https://man.mtool.work/php/8.3/mongodb-bson-dbpointer.jsonserialize.html
MongoDB\BSON\Decimal128::jsonSerialize — Returns a representation that can be c... 8362
MongoDB\BSON\Decimal128::jsonSerialize (mongodb >=1.2.0) MongoDB\BSON\Decimal128::jsonSerialize — Returns a representation that can be converted to JSON 説明 final public function MongoDB\BSON\Decimal128::jsonSerialize (): mixed パラメータ ... uce an extended JSON representation of the MongoDB\BSON\Decimal128 . 注意 : The output is consistent with the MongoDB\BSON\toJSON() function, which uses the driver-specific legacy extended JSON format. This does not necessarily match the » relaxed or » ...
https://man.mtool.work/php/8.3/mongodb-bson-decimal128.jsonserialize.html
MongoDB\BSON\Int64::jsonSerialize — Returns a representation that can be conver... 8362
MongoDB\BSON\Int64::jsonSerialize (mongodb >=1.5.0) MongoDB\BSON\Int64::jsonSerialize — Returns a representation that can be converted to JSON 説明 final public function MongoDB\BSON\Int64::jsonSerialize (): mixed パラメータ この関数にはパラ ... SON format. This differs from other BSON classes, which use the driver-specific legacy extended JSON format ( MongoDB\BSON\toJSON() ), in order to ensure that the 64-bit integer value is correctly represented on 32-bit platforms. エラー / 例外 Throws M ...
https://man.mtool.work/php/8.3/mongodb-bson-int64.jsonserialize.html
MongoDB\BSON\Javascript::jsonSerialize — Returns a representation that can be c... 8362
MongoDB\BSON\Javascript::jsonSerialize (mongodb >=1.2.0) MongoDB\BSON\Javascript::jsonSerialize — Returns a representation that can be converted to JSON 説明 final public function MongoDB\BSON\Javascript::jsonSerialize (): mixed パラメータ ... uce an extended JSON representation of the MongoDB\BSON\Javascript . 注意 : The output is consistent with the MongoDB\BSON\toJSON() function, which uses the driver-specific legacy extended JSON format. This does not necessarily match the » relaxed or » ...
https://man.mtool.work/php/8.3/mongodb-bson-javascript.jsonserialize.html
MongoDB\BSON\MaxKey::jsonSerialize — Returns a representation that can be conve... 8362
MongoDB\BSON\MaxKey::jsonSerialize (mongodb >=1.2.0) MongoDB\BSON\MaxKey::jsonSerialize — Returns a representation that can be converted to JSON 説明 final public function MongoDB\BSON\MaxKey::jsonSerialize (): mixed パラメータ この関数には ... produce an extended JSON representation of the MongoDB\BSON\MaxKey . 注意 : The output is consistent with the MongoDB\BSON\toJSON() function, which uses the driver-specific legacy extended JSON format. This does not necessarily match the » relaxed or » ...
https://man.mtool.work/php/8.3/mongodb-bson-maxkey.jsonserialize.html
MongoDB\BSON\MinKey::jsonSerialize — Returns a representation that can be conve... 8362
MongoDB\BSON\MinKey::jsonSerialize (mongodb >=1.2.0) MongoDB\BSON\MinKey::jsonSerialize — Returns a representation that can be converted to JSON 説明 final public function MongoDB\BSON\MinKey::jsonSerialize (): mixed パラメータ この関数には ... produce an extended JSON representation of the MongoDB\BSON\MinKey . 注意 : The output is consistent with the MongoDB\BSON\toJSON() function, which uses the driver-specific legacy extended JSON format. This does not necessarily match the » relaxed or » ...
https://man.mtool.work/php/8.3/mongodb-bson-minkey.jsonserialize.html
MongoDB\BSON\ObjectId::jsonSerialize — Returns a representation that can be con... 8362
MongoDB\BSON\ObjectId::jsonSerialize (mongodb >=1.2.0) MongoDB\BSON\ObjectId::jsonSerialize — Returns a representation that can be converted to JSON 説明 final public function MongoDB\BSON\ObjectId::jsonSerialize (): mixed パラメータ この関 ... oduce an extended JSON representation of the MongoDB\BSON\ObjectId . 注意 : The output is consistent with the MongoDB\BSON\toJSON() function, which uses the driver-specific legacy extended JSON format. This does not necessarily match the » relaxed or » ...
https://man.mtool.work/php/8.3/mongodb-bson-objectid.jsonserialize.html
PREV 1 2 NEXT