RPGs4_sanity/filters.py

7 lines
121 B
Python

#from jinja2 import Markup
import json
def to_json(obj):
#return Markup(json.dumps(obj))
return json.dumps(obj)