creationix/msgpack-js — pull request #5 by dominictarr (2013-07-22 11:53:04+00:00)
Title: behave more like JSON.stringify

This fixes a few things to make `msgpack.encode` behave more like `JSON.stringify`

In particular, it ignores functions instead of throwing, and it respects `toJSON`,
so that regular expressions, dates, and so on convert to msgpack as they would with JSON.