diff --git a/lib/arrayParser.js b/lib/arrayParser.js index e14f8e9..06f13cc 100644 --- a/lib/arrayParser.js +++ b/lib/arrayParser.js @@ -35,7 +35,7 @@ ArrayParser.prototype.newEntry = function(includeEmpty) { var entry; if (this.recorded.length > 0 || includeEmpty) { entry = this.recorded.join(""); - if (entry === "NULL") { + if (entry === "NULL" && !includeEmpty) { entry = null; } if (entry !== null) {