Home:ALL Converter>MongoDB Import Generates unexplained null values

MongoDB Import Generates unexplained null values

Ask Time:2022-07-07T14:42:28         Author:Sam Al Shami

Json Formatter

I have a large file in json format that I imported to Mongodb using Mongodb compass tool, The import is completed but when I look the data, under some fields I see null values that are not in the file I imported.

Here is the section of the document in question: Data I Want to import

Here is how it looks in Mongodb:

How it looks like in Mongodb

it even seems to add another array under the original array with. like why 10 nulls? and why nested array ?

Thank you

Author:Sam Al Shami,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/72893323/mongodb-import-generates-unexplained-null-values