Parent

Thrift::JSONContext

Class to serve as base JSON context and as base class for other context implementations

Public Instance Methods

escapeNum() click to toggle source

Return true if numbers need to be escaped as strings in this context. Default behavior is to return false.

# File lib/thrift/protocol/json_protocol.rb, line 84
def escapeNum
  return false
end
read(reader) click to toggle source

Read context data from the trans. Default is to do nothing.

# File lib/thrift/protocol/json_protocol.rb, line 77
def read(reader)
end
write(trans) click to toggle source

Write context data to the trans. Default is to do nothing.

# File lib/thrift/protocol/json_protocol.rb, line 71
def write(trans)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.