Method: Thrift::JSONPairContext#read
- Defined in:
- lib/thrift/protocol/json_protocol.rb
#read(reader) ⇒ Object
107 108 109 110 111 112 113 114 115 116 |
# File 'lib/thrift/protocol/json_protocol.rb', line 107 def read(reader) if (@first) @first = false @colon = true else ch = (@colon ? @@kJSONPairSeparator : @@kJSONElemSeparator) @colon = !@colon JsonProtocol::read_syntax_char(reader, ch) end end |