(mongodb >=1.16.0)
MongoDB\BSON\Document::fromJSON — Constrói uma nova instância de documento a partir de uma string JSON
Converte uma string » JSON estendida na sua representação BSON.
json
(string)Valor JSON a ser convertido.
json
não for um documento válido.