Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! 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;