While adding json document to using MongoDB Compass it adds "/n" in the document

While inserting Json data into Mongodb using Insert doc using MongoDB Compass v1.33
It shows “\n” and “” for the fields" as shown below

\n “item”: [\n {\n “name”: “Introduction to hpin”,\n “item”: [\n {\n “name”: “hpind Overview”,\n

it looks fine in the text document json document
any suggestions ?

Hi @Girish_V , this behavior is not necessarily expected–I am looking into this but could not reproduce the error. Would you mind providing a screenshot that demonstrates this behavior? Feel free to message me directly if you would not like to post the screenshot publicly.

1 Like