Login to NodeChef. From the NodeChef Task Manager, click on DB actions > CSV / JSON import to launch the designer
If you compressed the file you are attempting to import, you can select the compression method used. Currently we support gzip or bzip
We currently support ASCII, ISO/IEC 8859, UTF-8, UTF-16 (Little endian), UTF-16 (Big endian).
If you do not know the character encoding, you can select UTF-8 because of its high frequency of usage and preview the data. It is very less likely the character encoding of your data file is UTF-16. This option is only provided for special use cases.
Select the JSON file format. The input file must be structured using one of the below formats. If the JSON data was obtained from a mongoDB dump or your NodeChef backups, you should select the mongoDB extended JSON checkbox under options.
If the collection does not exist in the target database, the collection will be created. Collection names are case sensitive. The update object in database if _id exist option result in the slowest operation as bulk update operations cannot be performed in this case. Each object has to be updated individually.
You can also tranform the incoming JSON documents to a different structure if required. Vist the documentation on CSV transformations to learn more.
Use the preview button to preview the data to be inserted, Up to 32 rows will be showed for the preview. Once satisfied with the preview, you can use the import button to import the data.