Getting TProtocolException: Invalid data with node.js thrift client on server side

2013-04-07 Thread jeevan kk
rift.createClient(ServicePerson, b_conn); var person_list = new Array(); var person_obj = new type.Person({name_:"aa", attribute1_:"",attribute2_:"",attribute3_: "" }); console.log(person_obj); person_list.push(person_obj); client.DoPerson(person_list, function() { console.log("Hi"); }); }); I am using skeleton file at server side. -- *Regards Jeevan KK*

what are the nodejs datatype equivalent of container datatypes in thrift?

2013-04-05 Thread jeevan kk
what are the nodejs datatype equivalent of the following thrift datatypes. List, Set, Map -- *Regards Jeevan KK*