thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jayku <jayk...@gmail.com>
Subject Thrift JS .write is not a function
Date Thu, 14 Jul 2016 15:33:26 GMT
Hey Guys,

I encountered a strange problem using JSONProtocol, where I get "someObject.
*write* is not a function" error when I send a JSON payload using Thrift JS
client library.
Thrift CPP server excepts a Struct whose fields are optional.

I somehow got reference to this post
http://stackoverflow.com/questions/21416438/convert-json-to-thrift-object-in-nodejs
which
is the same problem I deal with. I Couldn't understand what the proposed
solution in this stack overflow post.

Can someone please help me out?

Thanks,
Jay.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message