##// END OF EJS Templates
templatefilters: document the json filter...
Yuya Nishihara -
r37967:a2551326 default
parent child Browse files
Show More
@@ -238,6 +238,7 b' def indent(text, prefix):'
238 238
239 239 @templatefilter('json')
240 240 def json(obj, paranoid=True):
241 """Any object. Serializes the object to a JSON formatted text."""
241 242 if obj is None:
242 243 return 'null'
243 244 elif obj is False:
General Comments 0
You need to be logged in to leave comments. Login now