secretary
secretary copied to clipboard
Auto-Filter json null (Python None)
When you get a json extracted from database or other sources, it is not rare that some field are empty (aka null). Python JSONDecoder decode them as None Python object. But in document, I guess the majority would like to see (nothing) when its None in place of 'None' remplacing the Jinja var.
Perhaps I've missed a simple filter here, but I can't see any good reason to print None