TeamSmil3y / PigeonPost

Python web framework • apparently easy to use
https://docs.pigeon.teamsmiley.org
MIT License
1 stars 0 forks source link

🎨 Modify JSONResponse to preserve json object as attribute and dump data on render #26

Closed raspitim closed 1 year ago

raspitim commented 1 year ago

Currently, on initialization of a response.JSONResponse object, the data parameter gets directly dumped to a string using json.dumps(data), while it would be more convenient to preserve the JSON object in the data attribute and only dump it to a string on rendering.

raspitim commented 1 year ago

Closed as JSONResponse objects become deprecated.