node.js - what are the nodejs datatype equivalent of container datatypes in thrift? -


what nodejs datatype equivalent of following thrift datatypes -

list set  map 

this .thrift file.

struct person{ 1: required string name_; 2: required map<i64,string> attribute1_; 3: required map<i64,i64> attribute2_; 4: required map<i64,string> attribute3_; }  service processperson {     void doperson(                 1: required list<person> person_array                   )  } 

in nodejs client, while calling doperson method, should datatype person_array? array of objects?

node.js doesn't on on native javascript, though there modules available implement data types looking for


Comments

Popular posts from this blog

asp.net mvc 3 - Using mvc3, I need to add a username/password to the sql connection string at runtime -

kineticjs - draw multiple lines and delete individual line -

thumbnails - jQuery image rotate on hover -