Re: JSON type caster - Mailing list psycopg

From Daniele Varrazzo
Subject Re: JSON type caster
Date
Msg-id CA+mi_8avp59F4K_eb4iZ1cYiDV5aO6Gq-isxS2uAX93rovOOYw@mail.gmail.com
Whole thread Raw
In response to Re: JSON type caster  (Tobias Oberstein <tobias.oberstein@gmail.com>)
List psycopg
On Wed, Sep 19, 2012 at 7:07 PM, Tobias Oberstein
<tobias.oberstein@gmail.com> wrote:
> I think there is a little issue left:
>
>     def typecast_json(s, cur):
>         return loads(s)
>
> fails if s == None.

Right: fixed, thank you.

-- Daniele


psycopg by date:

Previous
From: Tobias Oberstein
Date:
Subject: Re: JSON type caster
Next
From: Daniele Varrazzo
Date:
Subject: Re: Range Type Support