class

Thrift::JSONPairContext

Inherits Thrift::JSONContext < Reference < Object

Context class for object member key-value pairs

Constants

JSON_PAIR_SEPARATOR = ':'

Constructors

Instance methods

escape_num

Numbers must be turned into strings if they are the key part of a pair

Source
read(reader)

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

Source
write(trans)

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

Source