Commit 6b46b87a authored by Muhammad Yafi's avatar Muhammad Yafi
Browse files

remove jsonhelper

parent 1c046aba
import json
class JSONEncoder(json.JSONEncoder):
def default(self, o):
if isinstance(o, ObjectId):
return str(o)
return json.JSONEncoder.default(self, o)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment