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

{}
...