Re: JSON type caster

Поиск
Список
Период
Сортировка
От Daniele Varrazzo
Тема Re: JSON type caster
Дата
Msg-id CA+mi_8a4GGx0e6r-SPa34MJhbDSSKNyUpveFXZMQaqJROck7UA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: JSON type caster  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
Ответы Re: JSON type caster  (Tobias Oberstein <tobias.oberstein@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Daniele Varrazzo
Дата:
Сообщение: Re: JSON type caster
Следующее
От: Federico Di Gregorio
Дата:
Сообщение: Re: Problem with Zope 2.13.15, python 2.6.6 psycopg2-2.4.5, pg 9.0.3