Back to index

enigmail  1.4.3
Classes | Functions
unit-writemozinfo Namespace Reference

Classes

class  TestBuildDict
class  TestJsonValue
class  TestJsonify
class  TestWriteJson

Functions

def parse_json

Function Documentation

def unit-writemozinfo.parse_json (   j)
Awful hack to parse a restricted subset of JSON strings into Python dicts.

Definition at line 181 of file unit-writemozinfo.py.

00181 
00182 def parse_json(j):
00183     """
00184     Awful hack to parse a restricted subset of JSON strings into Python dicts.
00185     """
00186     return eval(j, {'true':True,'false':False,'null':None})

Here is the caller graph for this function: