updated json output to reflect number headers

This commit is contained in:
SheetJS 2013-03-13 14:41:31 -04:00
parent 65257d219e
commit c960dca068

@ -387,8 +387,9 @@ function sheet_to_row_object_array(sheet){
r: range.s.r
})];
if(val){
if(val.t === "s"){
columnHeaders[C] = val.v;
switch(val.t) {
case "s": case "str": columnHeaders[C] = val.v; break;
case "n": columnHeaders[C] = val.v; break;
}
}
}