diff options
Diffstat (limited to 'funcweb/funcweb/json.py')
-rw-r--r-- | funcweb/funcweb/json.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/funcweb/funcweb/json.py b/funcweb/funcweb/json.py deleted file mode 100644 index 66d5cfb..0000000 --- a/funcweb/funcweb/json.py +++ /dev/null @@ -1,10 +0,0 @@ -# A JSON-based API(view) for your app. -# Most rules would look like: -# @jsonify.when("isinstance(obj, YourClass)") -# def jsonify_yourclass(obj): -# return [obj.val1, obj.val2] -# @jsonify can convert your objects to following types: -# lists, dicts, numbers and strings - -from turbojson.jsonify import jsonify - |