From: | Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com> |
---|---|
To: | Tobias Oberstein <tobias(dot)oberstein(at)gmail(dot)com> |
Cc: | psycopg(at)postgresql(dot)org |
Subject: | Re: JSON type caster |
Date: | 2012-09-19 03:35:45 |
Message-ID: | CA+mi_8a4GGx0e6r-SPa34MJhbDSSKNyUpveFXZMQaqJROck7UA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | psycopg |
On Tue, Sep 18, 2012 at 5:44 PM, Daniele Varrazzo
<daniele(dot)varrazzo(at)gmail(dot)com> wrote:
> BTW, because of the zope problem discussed today, I'd be happy to have
> a release soon, so if nobody steps ahead in the next few hours, I'll
> try and implement the json support tonight and have it for psycopg
> 2.4.6.
I've implemented the Json adapter and the register_json function: they
are available in the "json" branch in my repository:
<https://github.com/dvarrazzo/psycopg/tree/json>. For PG 9.2 calling
register_json() is not required.
The docs are not online as still not complete; what is available can
be read generating the docs locally (make docs) or peeking at the
docstrings in _json.py
<https://github.com/dvarrazzo/psycopg/blob/json/lib/_json.py>
Comments and tests are appreciated.
-- Daniele
From | Date | Subject | |
---|---|---|---|
Next Message | Federico Di Gregorio | 2012-09-19 07:31:20 | Re: Problem with Zope 2.13.15, python 2.6.6 psycopg2-2.4.5, pg 9.0.3 |
Previous Message | Daniele Varrazzo | 2012-09-18 20:24:44 | Re: JSON type caster |