class Thrift::JSONContext
Class to serve as base JSON context and as base class for other context implementations
Public Instance Methods
Source
# File lib/thrift/protocol/json_protocol.rb 71 def escapeNum 72 false 73 end
Return true if numbers need to be escaped as strings in this context. Default behavior is to return false.
Source
# File lib/thrift/protocol/json_protocol.rb 64 def read(reader) 65 end
Read context data from the trans. Default is to do nothing.
Source
# File lib/thrift/protocol/json_protocol.rb 58 def write(trans) 59 end
Write context data to the trans. Default is to do nothing.