| Trees | Indices | Help | 
        
  | 
  
|---|
| 
       | 
  
Serializer abstraction module
This module introduces a simple abstraction over the serialization backend (currently json).
    
  | 
|||
| (callable, callable) | 
      
  | 
  ||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
| tuple of original data, string | 
      
  | 
  ||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
| tuple of original data, string | 
      
  | 
  ||
    
  | 
|||
        _JSON_INDENT = 2
     | 
  |||
        _RE_EOLSP = re.compile('[ \t]+$', re.MULTILINE)
     | 
  |||
Imports: simplejson, re, errors, utils
    
  | 
|||
  
 Returns two JSON functions to serialize data. 
  | 
  
 Serialize a given object. 
  | 
  
 Unserialize data from a string. 
  | 
  
 Serialize a given object and authenticate it. 
  | 
  
 Verify that a given message was signed with the given key, and load it. 
  | 
  
 Serialize a given object. 
  | 
  
 Unserialize data from a string. 
  | 
  
 Serialize a given object and authenticate it. 
  | 
  
 Verify that a given message was signed with the given key, and load it. 
  | 
| Trees | Indices | Help | 
        
  | 
  
|---|
| Generated by Epydoc 3.0.1 on Mon Dec 20 13:26:36 2010 | http://epydoc.sourceforge.net |