Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON Binary #20

Open
rodo opened this issue Mar 21, 2015 · 4 comments
Open

JSON Binary #20

rodo opened this issue Mar 21, 2015 · 4 comments

Comments

@rodo
Copy link

rodo commented Mar 21, 2015

Hi,

Thanks for this wonderful app, really happy to be able to store JSON in real JSON format and not as test as too many other apps do.
Have you plan to support Json Binary as PostgreSQL 9.4 permits it ?

Regards

@rodo
Copy link
Author

rodo commented Mar 24, 2015

cc @lisael psycopg2 expose the same datas if you use json or jsonb, the support consists only of patching CREATE or ALTER with jsonb in place of json

Ref : http://www.postgresql.org/docs/current/static/datatype-json.html

@lukesneeringer
Copy link
Owner

It would be pretty easy to create a subclass that stores as JSONB, or, alternatively, just make it an option to JSONField.

@rodo
Copy link
Author

rodo commented Apr 14, 2015

Soons good, do you think it somehting you can do or you don't have enough time at the moment, and apprecriate a pull request ? Let us know.

@lukesneeringer
Copy link
Owner

If you make a pull request that maintains coverage and still works, blah blah, I'd be glad to take it. If not, I will likely do it soon.

Another thing on my "to do eventually" list is adding support for the JSON operators added in 9.3. When I wrote this project, 9.2 was current and there were none.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants