Results of 1 - 10 of about 67 for toRelaxedExtendedJSON (0.002 sec.)
- Returns the Relaxed Extended JSON representation of the BSON array 11694
- « MongoDB\BSON\PackedArray::toPHP MongoDB\BSON\PackedArray::__toString » PHP Manual MongoDB\BSON\PackedArray Returns the Relaxed Extended JSON representation of the BSON array 検索 MongoDB\BSON\PackedArray::toRelaxedExtendedJSON (mongodb >=
... 1.20.0) MongoDB\BSON\PackedArray::toRelaxedExtendedJSON — Returns the Relaxed Extended JSON representation of the BSON array 説明 final public function MongoDB\BSON\PackedArray:: ... Returns a string containing the » Relaxed Extended JSON representation of the BSON array. 例 例1 MongoDB\BSON\PackedArray::toRelaxedExtendedJSON() example <?php $array = [ 'foo' , 123 , 4294967295 , new MongoDB\BSON\ObjectId ( '56315a7c6118fd1b920270b1' ), ]; $packed ... Array = MongoDB\BSON\PackedArray :: fromPHP ( $array ); echo $packedArray -> toRelaxedExtendedJSON (), "\n" ; ?> 上の例の出力は以下となります。 [ "foo", 123, 4294967295, { "$oid" : "56315a7c6118fd1b920270b1" } ] 参考 Mong ...
-
https://man.mtool.work/php/8.3/mongodb-bson-packedarray.torelaxedextendedjson.ht...
- Returns the Relaxed Extended JSON representation of the BSON array 11608
- « MongoDB\BSON\PackedArray::toPHP MongoDB\BSON\PackedArray::__toString » PHP Manual MongoDB\BSON\PackedArray Returns the Relaxed Extended JSON representation of the BSON array 検索 MongoDB\BSON\PackedArray::toRelaxedExtendedJSON (mongodb >=
... 1.20.0) MongoDB\BSON\PackedArray::toRelaxedExtendedJSON — Returns the Relaxed Extended JSON representation of the BSON array 説明 final public function MongoDB\BSON\PackedArray:: ... Returns a string containing the » Relaxed Extended JSON representation of the BSON array. 例 例1 MongoDB\BSON\PackedArray::toRelaxedExtendedJSON() example <?php $array = [ 'foo' , 123 , 4294967295 , new MongoDB\BSON\ObjectId ( '56315a7c6118fd1b920270b1' ), ]; $packed ... Array = MongoDB\BSON\PackedArray :: fromPHP ( $array ); echo $packedArray -> toRelaxedExtendedJSON (), "\n" ; ?> 上の例の出力は以下となります。 [ "foo", 123, 4294967295, { "$oid" : "56315a7c6118fd1b920270b1" } ] 参考 Mong ...
-
https://man.mtool.work/php/8.3/mongodb-bson-packedarray.torelaxedextendedjson.ht...
- Returns the Relaxed Extended JSON representation of a BSON value 9688
- « MongoDB\BSON\toPHP MongoDB\BSON\Document » PHP Manual 関数 Returns the Relaxed Extended JSON representation of a BSON value 検索 MongoDB\BSON\toRelaxedExtendedJSON (mongodb >=1.3.0) MongoDB\BSON\toRelaxedExtendedJSON — Returns the Relaxed
... has been DEPRECATED as of extension version 1.20.0 and was removed in 2.0. Applications should use MongoDB\BSON\Document::toRelaxedExtendedJSON() instead. 説明 function MongoDB\BSON\toRelaxedExtendedJSON ( string $bson ): string Converts a BSON string to its » Relax ... an unexpected » libbson error. 変更履歴 バージョン 説明 PECL mongodb 2.0.0 This function was removed. 例 例1 MongoDB\BSON\toRelaxedExtendedJSON() 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\toRelaxedExtendedJSON ( $bson ), "\n" ; } ?> 上の例の出力は以下となります。 { "null" : null } { "boolean" : true } { "string" : "foo" } { "int32 ...
-
https://man.mtool.work/php/8.3/function.mongodb.bson-torelaxedextendedjson.html
- Returns the Relaxed Extended JSON representation of a BSON value 9688
- « MongoDB\BSON\toPHP MongoDB\BSON\Document » PHP Manual 関数 Returns the Relaxed Extended JSON representation of a BSON value 検索 MongoDB\BSON\toRelaxedExtendedJSON (mongodb >=1.3.0) MongoDB\BSON\toRelaxedExtendedJSON — Returns the Relaxed
... has been DEPRECATED as of extension version 1.20.0 and was removed in 2.0. Applications should use MongoDB\BSON\Document::toRelaxedExtendedJSON() instead. 説明 function MongoDB\BSON\toRelaxedExtendedJSON ( string $bson ): string Converts a BSON string to its » Relax ... an unexpected » libbson error. 変更履歴 バージョン 説明 PECL mongodb 2.0.0 This function was removed. 例 例1 MongoDB\BSON\toRelaxedExtendedJSON() 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\toRelaxedExtendedJSON ( $bson ), "\n" ; } ?> 上の例の出力は以下となります。 { "null" : null } { "boolean" : true } { "string" : "foo" } { "int32 ...
-
https://man.mtool.work/php/8.3/function.mongodb.bson-torelaxedextendedjson.html
- Returns the Relaxed Extended JSON representation of the BSON document 9232
- « MongoDB\BSON\Document::toPHP MongoDB\BSON\Document::__toString » PHP Manual MongoDB\BSON\Document Returns the Relaxed Extended JSON representation of the BSON document 検索 MongoDB\BSON\Document::toRelaxedExtendedJSON (mongodb >=1.16.0) M
... ongoDB\BSON\Document::toRelaxedExtendedJSON — Returns the Relaxed Extended JSON representation of the BSON document 説明 final public function MongoDB\BSON\Document:: ... Returns a string containing the » Relaxed Extended JSON representation of the BSON document. 例 例1 MongoDB\BSON\Document::toRelaxedExtendedJSON() 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 -> toRelaxedExtendedJSON (), "\n" ; } ?> 上の例の出力は以下となります。 { "null" : null } { "boolean" : true } { "string" : "foo" } { "int32" : 123 ...
-
https://man.mtool.work/php/8.3/mongodb-bson-document.torelaxedextendedjson.html
- Returns the Relaxed Extended JSON representation of the BSON document 9232
- « MongoDB\BSON\Document::toPHP MongoDB\BSON\Document::__toString » PHP Manual MongoDB\BSON\Document Returns the Relaxed Extended JSON representation of the BSON document 検索 MongoDB\BSON\Document::toRelaxedExtendedJSON (mongodb >=1.16.0) M
... ongoDB\BSON\Document::toRelaxedExtendedJSON — Returns the Relaxed Extended JSON representation of the BSON document 説明 final public function MongoDB\BSON\Document:: ... Returns a string containing the » Relaxed Extended JSON representation of the BSON document. 例 例1 MongoDB\BSON\Document::toRelaxedExtendedJSON() 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 -> toRelaxedExtendedJSON (), "\n" ; } ?> 上の例の出力は以下となります。 { "null" : null } { "boolean" : true } { "string" : "foo" } { "int32" : 123 ...
-
https://man.mtool.work/php/8.3/mongodb-bson-document.torelaxedextendedjson.html
- The MongoDB\BSON\Document class 7767
- « MongoDB\BSON\toRelaxedExtendedJSON MongoDB\BSON\Document::__construct » PHP Manual MongoDB\BSON The MongoDB\BSON\Document class 検索 The MongoDB\BSON\Document class (mongodb >=1.16.0) はじめに Represents a BSON document. This class is use
... nicalExtendedJSON (): string final public function toPHP ( ? array $typeMap = null ): array | object final public function toRelaxedExtendedJSON (): string final public function __toString (): string } 変更履歴 バージョン 説明 PECL mongodb 2.0.0 This class no longer ... he BSON document MongoDB\BSON\Document::toPHP — Returns the PHP representation of the BSON document MongoDB\BSON\Document::toRelaxedExtendedJSON — Returns the Relaxed Extended JSON representation of the BSON document MongoDB\BSON\Document::__toString — Returns the st ... 関連キーワード: MongoDB Document final function document string key Returns mixed class value Construct new representation toRelaxedExtendedJSON construct mongodb ArrayAccess static array ...
-
https://man.mtool.work/php/8.3/class.mongodb-bson-document.html
- The MongoDB\BSON\Document class 7767
- « MongoDB\BSON\toRelaxedExtendedJSON MongoDB\BSON\Document::__construct » PHP Manual MongoDB\BSON The MongoDB\BSON\Document class 検索 The MongoDB\BSON\Document class (mongodb >=1.16.0) はじめに Represents a BSON document. This class is use
... nicalExtendedJSON (): string final public function toPHP ( ? array $typeMap = null ): array | object final public function toRelaxedExtendedJSON (): string final public function __toString (): string } 変更履歴 バージョン 説明 PECL mongodb 2.0.0 This class no longer ... he BSON document MongoDB\BSON\Document::toPHP — Returns the PHP representation of the BSON document MongoDB\BSON\Document::toRelaxedExtendedJSON — Returns the Relaxed Extended JSON representation of the BSON document MongoDB\BSON\Document::__toString — Returns the st ... ring representation of this BSON Document 関連キーワード: MongoDB Document final document mixed Construct representation toRelaxedExtendedJSON construct mongodb ArrayAccess static instance implements Type fromBSON fromJSON fromPHP getIterator offsetExists offsetGet ...
-
https://man.mtool.work/php/8.3/class.mongodb-bson-document.html
- Provides an array or document to serialize as BSON 7767
- « MongoDB\BSON\Serializable MongoDB\BSON\Unserializable » PHP Manual MongoDB\BSON\Serializable Provides an array or document to serialize as BSON 検索 MongoDB\BSON\Serializable::bsonSerialize (mongodb >=1.0.0) MongoDB\BSON\Serializable::bso
... ): array { return [ '_id' => $this -> id , 'foo' => 'bar' ]; } } echo MongoDB\BSON\Document :: fromPHP (new MyDocument )-> toRelaxedExtendedJSON (), "\n" ; ?> 上の例の出力は、 たとえば以下のようになります。 { "_id" : { "$oid" : "56cccdcada14d8755a58c591" }, "foo" : " ... able { function bsonSerialize (): array { return [ 1 , 2 , 3 ]; } } echo MongoDB\BSON\Document :: fromPHP (new MyArray )-> toRelaxedExtendedJSON (), "\n" ; ?> 上の例の出力は以下となります。 { "0" : 1, "1" : 2, "2" : 3 } 例3 MongoDB\BSON\Serializable::bsonSerialize() ... turn [ 'foo' => 'bar' ]; } } $value = [ 'document' => new MyDocument ]; echo MongoDB\BSON\Document :: fromPHP ( $value )-> toRelaxedExtendedJSON (), "\n" ; ?> 上の例の出力は以下となります。 { "document" : { "foo" : "bar" } } 例4 MongoDB\BSON\Serializable::bsonSeriali ...
-
https://man.mtool.work/php/8.3/mongodb-bson-serializable.bsonserialize.html
- Returns the Legacy Extended JSON representation of a BSON value 7582
- « MongoDB\BSON\toCanonicalExtendedJSON MongoDB\BSON\toPHP » PHP Manual 関数 Returns the Legacy Extended JSON representation of a BSON value 検索 MongoDB\BSON\toJSON (mongodb >=1.0.0) MongoDB\BSON\toJSON — Returns the Legacy Extended JSON re
... and was removed in 2.0. Applications should use MongoDB\BSON\Document::toCanonicalExtendedJSON() or MongoDB\BSON\Document::toRelaxedExtendedJSON() instead. 説明 function MongoDB\BSON\toJSON ( string $bson ): string Converts a BSON string to its » Legacy Extended JSON ... ts 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 Extended JSON format does not define an al ... e 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 JSON value. エラー / 例外 Throws MongoDB\D ...
-
https://man.mtool.work/php/8.3/function.mongodb.bson-tojson.html