MongoDB\BSON\Document::toRelaxedExtendedJSON
(mongodb >=1.16.0)
MongoDB\BSON\Document::toRelaxedExtendedJSON β ΠΠΎΠ²Π΅ΡΡΠ°Ρ Relaxed Extended JSON ΠΏΠΎΠ΄Π°Π½Π½Ρ BSON-Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΡ
ΠΠΏΠΈΡ
final public MongoDB\BSON\Document::toRelaxedExtendedJSON(): string
ΠΠ΅ΡΠ΅ΡΠ²ΠΎΡΡΡ BSON-Π΄ΠΎΠΊΡΠΌΠ΅Π½Ρ Π½Π° ΠΏΠΎΠ΄Π°Π½Π½Ρ Β»Β Relaxed Extended JSON. Π€ΠΎΡΠΌΠ°Ρ Relaxed Π²ΠΎΠ»ΡΡ Π²ΠΈΠΊΠΎΡΠΈΡΡΠΎΠ²ΡΠ²Π°ΡΠΈ ΠΏΡΠΈΠΌΡΡΠΈΠ²ΠΈ ΡΠΈΠΏΡΠ² JSON Π½Π° ΡΠΊΠΎΠ΄Ρ Π²ΡΡΠ½ΠΎΡΡΡ ΡΠΈΠΏΡΠ² Ρ Π½Π°ΠΉΠ±ΡΠ»ΡΡΠ΅ ΠΏΡΠ΄Ρ ΠΎΠ΄ΠΈΡΡ Π΄Π»Ρ ΡΡΠ²ΠΎΡΠ΅Π½Π½Ρ Π²ΠΈΡΠ½ΠΎΠ²ΠΊΡ, ΡΠΊΠΈΠΉ ΠΌΠΎΠΆΠ΅ Π±ΡΡΠΈ Π»Π΅Π³ΠΊΠΎ Π²ΠΈΠΊΠΎΡΠΈΡΡΠ°Π½ΠΈΠΉ Π²Π΅Π±-ΡΠ½ΡΠ΅ΡΡΠ΅ΠΉΡΠ°ΠΌΠΈ ΡΠ° Π»ΡΠ΄ΡΠΌΠΈ.
Π‘ΠΏΠΈΡΠΎΠΊ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΡΠ²
Π¦Ρ ΡΡΠ½ΠΊΡΡΡ Π½Π΅ ΠΌΠ°Ρ ΠΏΠ°ΡΠ°ΠΌΠ΅ΡΡΡΠ².
ΠΡΠΈΠΊΠ»Π°Π΄ΠΈ
ΠΡΠΈΠΊΠ»Π°Π΄ #1 ΠΡΠΈΠΊΠ»Π°Π΄ Π²ΠΈΠΊΠΎΡΠΈΡΡΠ°Π½Π½Ρ MongoDB\BSON\Document::toRelaxedExtendedJSON()****
Loading...
Π Π΅Π·ΡΠ»ΡΡΠ°Ρ Π²ΠΈΠΊΠΎΠ½Π°Π½Π½Ρ Π½Π°Π²Π΅Π΄Π΅Π½ΠΎΠ³ΠΎ ΠΏΡΠΈΠΊΠ»Π°Π΄Ρ:
{ "null" : null }
{ "boolean" : true }
{ "string" : "foo" }
{ "int32" : 123 }
{ "int64" : 4294967295 }
{ "double" : 1.0 }
{ "nan" : { "$numberDouble" : "NaN" } }
{ "pos_inf" : { "$numberDouble" : "Infinity" } }
{ "neg_inf" : { "$numberDouble" : "-Infinity" } }
{ "array" : [ "foo", "bar" ] }
{ "document" : { "foo" : "bar" } }
{ "oid" : { "$oid" : "56315a7c6118fd1b920270b1" } }
{ "dec128" : { "$numberDecimal" : "1234.5678" } }
{ "binary" : { "$binary" : { "base64": "Zm9v", "subType" : "00" } } }
{ "date" : { "$date" : "2015-10-28T00:00:00Z" } }
{ "timestamp" : { "$timestamp" : { "t" : 5678, "i" : 1234 } } }
{ "regex" : { "$regularExpression" : { "pattern" : "pattern", "options" : "i" } } }
{ "code" : { "$code" : "function() { return 1; }" } }
{ "code_ws" : { "$code" : "function() { return a; }", "$scope" : { "a" : 1 } } }
{ "minkey" : { "$minKey" : 1 } }
{ "maxkey" : { "$maxKey" : 1 } }
ΠΠΈΠ²ΡΡΡΡΡ ΡΠ°ΠΊΠΎΠΆ
- MongoDB\BSON\Document::fromJSON() - Π‘ΡΠ²ΠΎΡΡΡ Π½ΠΎΠ²ΠΈΠΉ Π΅ΠΊΠ·Π΅ΠΌΠΏΠ»ΡΡ Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΠ° Π· ΡΡΠ΄ΠΊΠ° JSON
- MongoDB\BSON\Document::toCanonicalExtendedJSON() - ΠΠΎΠ²Π΅ΡΡΠ°Ρ Canonical Extended JSON-ΠΏΠΎΠ΄Π°Π½Π½Ρ BSON-Π΄ΠΎΠΊΡΠΌΠ΅Π½ΡΡ
- MongoDB\BSON\toRelaxedExtendedJSON() - ΠΠΎΠ²Π΅ΡΡΠ°Ρ Relaxed Extended JSON ΠΏΠΎΠ΄Π°Π½Π½Ρ Π·Π½Π°ΡΠ΅Π½Π½Ρ BSON
- » БпСΡΠΈΡΡΠΊΠ°ΡΡΡ Extended JSON
- » Випи BSON