SQLExport explanation

I’m sure this is a dumb question…

Does the Export create a JSON object (DBjson)? If so, why does this JSON object need to be stringifyed to see it…

DB=SqlOpenDatabase("Northwind.db");
DBjson=SQLExport(DB, "Northwind.db", exportComplete);


function exportComplete(){
alert (JSON.stringify(DBjson));
}

Tip : If you’re pasting code, html or config files, surround the code with triple back ticks (```), before the first line and after the last one. It will be formatted properly.

Yes, SQLExport creates a JSON object. It’s a JavaScript Object, which the alert() function cannot convert into a string automatically.

JSON.stringify(DBjson) does the string conversion.

Thanks for your help…