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

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -