knrz/CSV.js — pull request #14 by wulfsolter (2014-06-26 22:46:24+00:00)
Title: handle null values in array of objects

When encoding:

If an array of objects has null values like key2 in {key1: 'asdf', key2: null, key3: 123} the stringify() function dies trying to regex replace on null.