Revision 228538cf lib/serializer.py

b/lib/serializer.py
39 39
_RE_EOLSP = re.compile('\s+$', re.MULTILINE)
40 40

  
41 41

  
42
def Dump(data):
42
def DumpJson(data):
43 43
  """Serialize a given object.
44 44

  
45 45
  """
......
53 53
  return txt
54 54

  
55 55

  
56
def Load(txt):
56
def LoadJson(txt):
57 57
  """Unserialize data from a string.
58 58

  
59 59
  """
60 60
  return simplejson.loads(txt)
61

  
62

  
63
Dump = DumpJson
64
Load = LoadJson

Also available in: Unified diff