(mongodb >=1.16.0)
MongoDB\BSON\Document::fromJSON — Construct a new document instance from a JSON string
$json
Converts an » extended JSON string to its BSON representation.
json
JSON value to be converted.