Thrift::JSONContext
Context class for lists
# File lib/thrift/protocol/json_protocol.rb, line 126 def initialize @first = true end
# File lib/thrift/protocol/json_protocol.rb, line 138 def read(reader) if (@first) @first = false else JsonProtocol::read_syntax_char(reader, @@kJSONElemSeparator) end end
# File lib/thrift/protocol/json_protocol.rb, line 130 def write(trans) if (@first) @first = false else trans.write(@@kJSONElemSeparator) end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.