Hacker News new | ask | show | jobs
by tonylampada 4482 days ago
Have you looked at https://pypi.python.org/pypi/django-jsonfield/ before building your json field? If so, can you elaborate about how those implementations compare with each other?
1 comments

My understanding is that the field, when working with a PostgreSQL database, is stored as a JSON field in PostgreSQL, rather than just a text field. I don't think django-jsonfield can do that.
There are a number of existing jsonfield implementations. This one, probably the best of the lot, DOES make use of the PostgreSQL JSON field: https://github.com/bradjasper/django-jsonfield/blob/master/j...

It looks like your app does more in terms of casting data that comes from the field. Is this the major improvement?