Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
The error message I receive is: unable to convert from org.Mozilla.javascript,uniqueTag to info table.
var json=me.jsondata_JS();
//result = JSON;
for (let i=0;i<json.lenght;i++){
var con=me.jstsql({
id: json[i].id /* INTEGER */,
email: json[i].email /* STRING */,
first_name: json[i].first_name /* STRING */,
last_name: json[i].last_name /* STRING */,
avatar: json[i].avatar /* STRING */
});
result = con;
}
Solved! Go to Solution.
Answer
let con;
let C=me.jsondata_JS();
//result = json;
for ( let i=0;i<=C.length;i++ ){
con=me.jstsql({
id:C[i].id,
email: C[i].email ,
first_name: C[i].first_name,
last_name: C[i].last_name,
avatar: C[i].avatar
});
}
result = con;
Hi,
There was a similar issue before:
Answer
let con;
let C=me.jsondata_JS();
//result = json;
for ( let i=0;i<=C.length;i++ ){
con=me.jstsql({
id:C[i].id,
email: C[i].email ,
first_name: C[i].first_name,
last_name: C[i].last_name,
avatar: C[i].avatar
});
}
result = con;