Created
July 11, 2011 15:11
-
-
Save waffle2k/1076055 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
from json_decorator import * | |
a = [ None,1,2,3,4,5,"foobar", { 'ya': 'right' },] | |
@jsonify | |
def something(obj): | |
return obj | |
print "Regular:",a | |
print "With decorator", | |
print something( a ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment