mongo import data into collection code example
Example: import data to mongodb
mongoimport --jsonArray --db YourDatabase --collection YourCollection --file Yourfile.json
mongoimport --jsonArray --db YourDatabase --collection YourCollection --file Yourfile.json