title: Can I save big json file directly to mongodb?
body: <p>I have a web page with multiple controls which contains,text,images,attachments, and we allow customers to upload (drag and drop) attachments. I need to save theis data to mongo db. Till now , I was saving text data to one collection and saving attachments using GridFs separately.</p>
  
  <p>I want to save all the data(text/images) including attachments (as json ) in base 64 encoding data as a single record.</p>
  
  <p>Can I save this entire data as a single record into mongo db. The total file size could be more than 20MB (in case it has attachments).How can I achieve this?</p>
  
  <p>Can I write entire data into json file and same it into mongo db using GridFs ?</p>