Method: Thrift::JSONListContext#read

Defined in:
lib/thrift/json_protocol.rb

#read(reader) ⇒ Object



138
139
140
141
142
143
144
# File 'lib/thrift/json_protocol.rb', line 138

def read(reader)
  if (@first)
    @first = false
  else
    JsonProtocol::read_syntax_char(reader, @@kJSONElemSeparator)
  end
end