JSONB marshalling - Mailing list psycopg

From Damian Dimmich
Subject JSONB marshalling
Date
Msg-id 53CE3703.4090601@tauri-tec.com
Whole thread Raw
Responses Re: JSONB marshalling  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
List psycopg
Hello,

I'm testing out the jsonb functionality on postgres 9.4 and up.  I added
an extension to sqlalchemy which enables nicer jsonb access through the
orm and extends support for all the query types:

http://docs.sqlalchemy.org/en/rel_0_9/dialects/postgresql.html?highlight=json#sqlalchemy.dialects.postgresql.JSON

The psycopg2 driver doesn't recognise jsonb yet however and results
don't get run through json.reads.

According to http://schinckel.net/2014/05/24/python,-postgres-and-jsonb/
the oid and typarray are 3802 and 3807 respectively.

Are there any plans to add jsonb support to psycopg2, and/or is someone
working on this already?

Thanks!

Damian


psycopg by date:

Previous
From: Daniele Varrazzo
Date:
Subject: Cancelling a query from Python
Next
From: Daniele Varrazzo
Date:
Subject: Re: JSONB marshalling