Re: JSON type caster - Mailing list psycopg

From Daniele Varrazzo
Subject Re: JSON type caster
Date
Msg-id CA+mi_8a4GGx0e6r-SPa34MJhbDSSKNyUpveFXZMQaqJROck7UA@mail.gmail.com
Whole thread Raw
In response to Re: JSON type caster  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Responses Re: JSON type caster
List psycopg
On Tue, Sep 18, 2012 at 5:44 PM, Daniele Varrazzo
<daniele.varrazzo@gmail.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


psycopg by date:

Previous
From: Daniele Varrazzo
Date:
Subject: Re: JSON type caster
Next
From: Federico Di Gregorio
Date:
Subject: Re: Problem with Zope 2.13.15, python 2.6.6 psycopg2-2.4.5, pg 9.0.3