« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 24 for toCanonicalExtendedJSON (0.002 sec.)
MongoDB\BSON\PackedArray::toCanonicalExtendedJSON — Returns the Canonical Exten... 13878
MongoDB\BSON\PackedArray::toCanonicalExtendedJSON (mongodb >=1.20.0) MongoDB\BSON\PackedArray::toCanonicalExtendedJSON — Returns the Canonical Extended JSON representation of the BSON array 説明 final public function MongoDB\BSON\PackedArra ... y::toCanonicalExtendedJSON (): string Converts the BSON array to its » Canonical Extended JSON representation. The canonical format prefers type fide ... turns a string containing the » Canonical Extended JSON representation of the BSON array. 例 例1 MongoDB\BSON\PackedArray::toCanonicalExtendedJSON() example <?php $array = [ 'foo' , 123 , 4294967295 , new MongoDB\BSON\ObjectId ( '56315a7c6118fd1b920270b1' ), ]; $packed ... Array = MongoDB\BSON\PackedArray :: fromPHP ( $array ); echo $packedArray -> toCanonicalExtendedJSON (), "\n" ; ?> 上の例の出力は以下となります。 [ "foo", { "$numberInt" : "123" }, { "$numberLong" : "4294967295" }, { "$oid" ...
https://man.mtool.work/php/8.3/mongodb-bson-packedarray.tocanonicalextendedjson....
MongoDB\BSON\toCanonicalExtendedJSON — Returns the Canonical Extended JSON repr... 11392
MongoDB\BSON\toCanonicalExtendedJSON (mongodb >=1.3.0) MongoDB\BSON\toCanonicalExtendedJSON — Returns the Canonical Extended JSON representation of a BSON value 警告 This function has been DEPRECATED as of extension version 1.20.0 and was r ... emoved in 2.0. Applications should use MongoDB\BSON\Document::toCanonicalExtendedJSON() instead. 説明 function MongoDB\BSON\toCanonicalExtendedJSON ( string $bson ): string Converts a BSON string to its » Can ... an unexpected » libbson error. 変更履歴 バージョン 説明 PECL mongodb 2.0.0 This function was removed. 例 例1 MongoDB\BSON\toCanonicalExtendedJSON() 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\toCanonicalExtendedJSON ( $bson ), "\n" ; } ?> 上の例の出力は以下となります。 { "null" : null } { "boolean" : true } { "string" : "foo" } { "int32 ...
https://man.mtool.work/php/8.3/function.mongodb.bson-tocanonicalextendedjson.htm...
MongoDB\BSON\Document::toCanonicalExtendedJSON — Returns the Canonical Extended... 10792
MongoDB\BSON\Document::toCanonicalExtendedJSON (mongodb >=1.16.0) MongoDB\BSON\Document::toCanonicalExtendedJSON — Returns the Canonical Extended JSON representation of the BSON document 説明 final public function MongoDB\BSON\Document::toCanonicalExtendedJSON ... turns a string containing the » Canonical Extended JSON representation of the BSON document. 例 例1 MongoDB\BSON\Document::toCanonicalExtendedJSON() example <?php $documents = [ [ 'null' => null ], [ 'boolean' => true ], [ 'string' => 'foo' ], [ 'int32' => 123 ], [ 'in ... N\MaxKey ], ]; foreach ( $documents as $document ) { $bson = MongoDB\BSON\Document :: fromPHP ( $document ); echo $bson -> toCanonicalExtendedJSON (), "\n" ; } ?> 上の例の出力は以下となります。 { "null" : null } { "boolean" : true } { "string" : "foo" } { "int32" : { " ... SON\Document::toRelaxedExtendedJSON() - Returns the Relaxed Extended JSON representation of the BSON document MongoDB\BSON\toCanonicalExtendedJSON() - Returns the Canonical Extended JSON representation of a BSON value » Extended JSON Specification » BSON Types 他のマニ ...
https://man.mtool.work/php/8.3/mongodb-bson-document.tocanonicalextendedjson.htm...
MongoDB\BSON\toJSON — Returns the Legacy Extended JSON representation of a BSON... 8773
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 ... e MongoDB\BSON\Document::toCanonicalExtendedJSON() or MongoDB\BSON\Document::toRelaxedExtendedJSON() instead. 説明 function MongoDB\BSON\toJSON ( string $bson ): string Co ... perseded by the canonical and relaxed formats defined in the » Extended JSON Specification and implemented by MongoDB\BSON\toCanonicalExtendedJSON() and MongoDB\BSON\toRelaxedExtendedJSON() , respectively. 警告 » JSON does not support NAN and INF and MongoDB's Legacy E ... ay not be parsed as valid JSON). If you are working with BSON that may contain non-finite numbers, please use MongoDB\BSON\toCanonicalExtendedJSON() or MongoDB\BSON\toRelaxedExtendedJSON() . パラメータ bson ( string ) BSON value to be converted. 戻り値 The converted JS ...
https://man.mtool.work/php/8.3/function.mongodb.bson-tojson.html
MongoDB\BSON\Binary::jsonSerialize — Returns a representation that can be conve... 8306
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 パラメータ この関数には ... h the » relaxed or » canonical extended JSON representations used by MongoDB\BSON\toRelaxedExtendedJSON() and MongoDB\BSON\toCanonicalExtendedJSON() , respectively. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 参考 ... lizable::jsonSerialize() - JSON にシリアライズしたいデータを指定する json_encode() - 値を JSON 形式にして返す MongoDB\BSON\toCanonicalExtendedJSON() - Returns the Canonical Extended JSON representation of a BSON value MongoDB\BSON\toRelaxedExtendedJSON() - Returns the ...
https://man.mtool.work/php/8.3/mongodb-bson-binary.jsonserialize.html
MongoDB\BSON\DBPointer::jsonSerialize — Returns a representation that can be co... 8306
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 パラメータ この ... h the » relaxed or » canonical extended JSON representations used by MongoDB\BSON\toRelaxedExtendedJSON() and MongoDB\BSON\toCanonicalExtendedJSON() , respectively. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 参考 ... lizable::jsonSerialize() - JSON にシリアライズしたいデータを指定する json_encode() - 値を JSON 形式にして返す MongoDB\BSON\toCanonicalExtendedJSON() - Returns the Canonical Extended JSON representation of a BSON value MongoDB\BSON\toRelaxedExtendedJSON() - Returns the ...
https://man.mtool.work/php/8.3/mongodb-bson-dbpointer.jsonserialize.html
MongoDB\BSON\Decimal128::jsonSerialize — Returns a representation that can be c... 8306
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 パラメータ ... h the » relaxed or » canonical extended JSON representations used by MongoDB\BSON\toRelaxedExtendedJSON() and MongoDB\BSON\toCanonicalExtendedJSON() , respectively. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 参考 ... lizable::jsonSerialize() - JSON にシリアライズしたいデータを指定する json_encode() - 値を JSON 形式にして返す MongoDB\BSON\toCanonicalExtendedJSON() - Returns the Canonical Extended JSON representation of a BSON value MongoDB\BSON\toRelaxedExtendedJSON() - Returns the ...
https://man.mtool.work/php/8.3/mongodb-bson-decimal128.jsonserialize.html
MongoDB\BSON\Javascript::jsonSerialize — Returns a representation that can be c... 8306
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 パラメータ ... h the » relaxed or » canonical extended JSON representations used by MongoDB\BSON\toRelaxedExtendedJSON() and MongoDB\BSON\toCanonicalExtendedJSON() , respectively. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 参考 ... lizable::jsonSerialize() - JSON にシリアライズしたいデータを指定する json_encode() - 値を JSON 形式にして返す MongoDB\BSON\toCanonicalExtendedJSON() - Returns the Canonical Extended JSON representation of a BSON value MongoDB\BSON\toRelaxedExtendedJSON() - Returns the ...
https://man.mtool.work/php/8.3/mongodb-bson-javascript.jsonserialize.html
MongoDB\BSON\MaxKey::jsonSerialize — Returns a representation that can be conve... 8306
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 パラメータ この関数には ... h the » relaxed or » canonical extended JSON representations used by MongoDB\BSON\toRelaxedExtendedJSON() and MongoDB\BSON\toCanonicalExtendedJSON() , respectively. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 参考 ... lizable::jsonSerialize() - JSON にシリアライズしたいデータを指定する json_encode() - 値を JSON 形式にして返す MongoDB\BSON\toCanonicalExtendedJSON() - Returns the Canonical Extended JSON representation of a BSON value MongoDB\BSON\toRelaxedExtendedJSON() - Returns the ...
https://man.mtool.work/php/8.3/mongodb-bson-maxkey.jsonserialize.html
MongoDB\BSON\MinKey::jsonSerialize — Returns a representation that can be conve... 8306
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 パラメータ この関数には ... h the » relaxed or » canonical extended JSON representations used by MongoDB\BSON\toRelaxedExtendedJSON() and MongoDB\BSON\toCanonicalExtendedJSON() , respectively. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. 参考 ... lizable::jsonSerialize() - JSON にシリアライズしたいデータを指定する json_encode() - 値を JSON 形式にして返す MongoDB\BSON\toCanonicalExtendedJSON() - Returns the Canonical Extended JSON representation of a BSON value MongoDB\BSON\toRelaxedExtendedJSON() - Returns the ...
https://man.mtool.work/php/8.3/mongodb-bson-minkey.jsonserialize.html
PREV 1 2 3 NEXT