Package gofer :: Package messaging :: Class Envelope
[hide private]
[frames] | no frames]

Class Envelope

source code

object --+    
         |    
   Options --+
             |
            Envelope
Known Subclasses:

Extends the dict-like object that also provides JSON serialization.

Instance Methods [hide private]
 
load(self, s)
Load using a json string.
source code
str
dump(self)
Dump to a json string.
source code

Inherited from Options: __getattr__, __getitem__, __iadd__, __init__, __iter__, __len__, __repr__, __setitem__, __str__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

load(self, s)

source code 

Load using a json string.

Parameters:
  • s (str) - A json encoded string.

dump(self)

source code 

Dump to a json string.

Returns: str
A json encoded string.