| # Gaudi Framework, version v21r9 |

Home |  | Generated: 3 May 2010

# simplejson::encoder Namespace Reference

## Functions
def | default
## Variables
| c_encode_basestring_ascii = None
| c_make_encoder = None
tuple | ESCAPE = re.compile(r'[\x00-\x1f\\"\b\f\n\r\t]')ESCAPE_ASCII = re.compile(r'([\\"]|[^\ -~])

## Detailed Description

    Implementation of JSONEncoder

## Function Documentation

def simplejson::encoder::default | ( |  | self,
|  |  | o |
| ) |  |  |

Definition at line 167 of file encoder.py.

    00167                                 :
    00168                 try:
    00169                     iterable = iter(o)
    00170                 except TypeError:
    00171                     pass
    00172                 else:
    00173                     return list(iterable)
    00174                 return JSONEncoder.default(self, o)
    00175
    00176         """
            raise TypeError(repr(o) + " is not JSON serializable")

## Variable Documentation

simplejson::encoder::c_encode_basestring_ascii = None

Definition at line 8 of file encoder.py.

simplejson::encoder::c_make_encoder = None

Definition at line 12 of file encoder.py.

tuple simplejson::encoder::ESCAPE = re.compile(r'[\x00-\x1f\\"\b\f\n\r\t]')ESCAPE_ASCII = re.compile(r'([\\"]|[^\ -~])

Definition at line 14 of file encoder.py.