Trees | Indices | Help |
|
---|
|
|
|||
str, func |
|
||
|
|
Serialize value is callable, a decorated version of
value that serializes its return value will be returned.
>>> value = (dict(a=1L), u"123", 123) >>> print json(value) [{"a": 1}, "123", 123] >>> @json ... def f(): ... return value ... >>> print f() [{"a": 1}, "123", 123]
|
value .
>>> jsonstr = '[{"a": 1}, "123", 123]' >>> print unjson(jsonstr) [{u'a': 1}, u'123', 123]
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Thu May 7 11:46:09 2009 | http://epydoc.sourceforge.net |