Re: JSON type caster

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 23:42:17
Message-ID: CA+mi_8avp59F4K_eb4iZ1cYiDV5aO6Gq-isxS2uAX93rovOOYw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

On Wed, Sep 19, 2012 at 7:07 PM, Tobias Oberstein
<tobias(dot)oberstein(at)gmail(dot)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

In response to

Browse psycopg by date

  From Date Subject
Next Message Daniele Varrazzo 2012-09-20 00:18:50 Re: Range Type Support
Previous Message Tobias Oberstein 2012-09-19 18:07:13 Re: JSON type caster