Well, there's no way to represent null in CSV, so an empty string is the best we can do. The property should be tested for null-ness, though, as there's no reason we couldn't have a legitimate string containing the word "null". The function you mention is the place for the check, and one for "undefined" might not hurt, too.
Well, there's no way to represent null in CSV, so an empty string is the best we can do. The property should be tested for null-ness, though, as there's no reason we couldn't have a legitimate string containing the word "null". The function you mention is the place for the check, and one for "undefined" might not hurt, too.