Each model has a .jsondict() method for returning a JSON-serializable dictionary. 90% of times you will want such data wrapped in a dictionary, because the client message loop expects this and because it's secured against JS exploits. Hence, I have made wrap=True the default behaviour.
Each model has a
.jsondict()
method for returning a JSON-serializable dictionary. 90% of times you will want such data wrapped in a dictionary, because the client message loop expects this and because it's secured against JS exploits. Hence, I have madewrap=True
the default behaviour.