News for hackers. Stuff that matters.
Re:JavaScript is Good, Actually by chamilto on Wednesday May 16, 2018 @10:01AM (#17082410)
The most common issue I run into is with datetime objects, but there are well documented workarounds. For more complex objects such as ORM objects, I think a lot of people use Marshmallow. That being said, I don't have a lot of experience, so I could be missing something obvious. What issues have you had with Python JSON serialization?
Re:JavaScript is Good, Actually by jrs95 on Wednesday May 16, 2018 @11:59AM (#17083421)
I wouldn't say I've had issues, I just don't think it's really been easier/quicker in Python than most other languages I've used except for the simplest use cases (when Flask jsonify does everything you need because your data is all just strings, numbers, and booleans already)