JSON-stat > Format > Viewer
\n \n\n\n \n\n' ; try{ //Is it JSON? j=JSONstat( JSON.parse(str) ); }//Not JSON? is it a CSV? catch(e){ j=JSONstat( JSONstatUtils.fromCSV(str, { label: "Imported from CSV", vlast: true // vfield is known as a format requirement: last column*/ // assuming standard delimiter "," and decimal "." }) ); isCSV=true; }