The mongoimport tool is used to transfer data from a file (CSV TSV or JSON) to MongoDB Server. The syntax for using the mongoimport tool is as follows.
mongoimport <options> <file>
Some of the options supported by mongoimport are discussed in Table 8-1.
Source: Vohra Deepak (2015), Pro MongoDB™ Development, Apress; 1st ed. edition.