serialize JsObject
parent
29736e5188
commit
c3b5cb0e48
|
@ -44,6 +44,8 @@ def encode(o):
|
|||
return str(o)
|
||||
elif isinstance(o, dict):
|
||||
return dict2extjs(o)
|
||||
elif isinstance(o, JsObject):
|
||||
return o._id
|
||||
else:
|
||||
return o
|
||||
|
||||
|
|
Loading…
Reference in New Issue