MongoDB null, undefined, and boolean data types (how to set)

Just a quick note today that MongoDB supports both null and undefined data types, and you can set them as shown here:

{ "a" : null }

{ "a" : undefined }

MongoDB also supports a boolean data type, which you can define like this:

{ "a" : boolean }