title: What is the difference between Mongoose toObject and toJSON?
body: <p>The <a href="http://mongoosejs.com/docs/api.html#document_Document-toObject" rel="noreferrer">Mongoose documentation for toObject</a> lists features, options, and gives examples of functionality of <code>toObject</code>.  </p>
  
  <p>The Mongoose documentation for <code>toJSON</code> says the options are the same as toObject, but doesn't explain what <code>toJSON</code> does.  <a href="http://mongoosejs.com/docs/guide.html#toJSON" rel="noreferrer">Elsewhere the documentation says</a> </p>
  
  <blockquote>
    <p>toJSON is exactly the same as the toObject option but only applies
    when the document's toJSON method is called.</p>
  </blockquote>
  
  <p>Is <code>toJSON</code> an alias of <code>toObject</code>?  If not, what are the differences?</p>