0 votes
in MongoDB by
Which of the following option is a valid MongoDB JSON :

A

{}

B

{

"user_id"=1,

"user_name"="Joe Sanders",

"occupation"=["engineer","writer"]

}

C

{

"user_id":1;

"user_name":"Joe Sanders";

"occupation":["engineer","writer"]

}

D

{

"user_id":1,

"user_name":"Joe Sanders",

"occupation":[

"occupation1":"engineer",

"occupation2":"writer"

]

}

1 Answer

0 votes
by

A

{}

Related questions

0 votes
asked Jun 17, 2020 in MongoDB by AdilsonLima
+1 vote
asked Aug 24, 2020 in MongoDB by Hodge
...