Re: simplejson: alternate encoder not called enought

2009-03-22 Thread Chris Rebert
On Sat, Mar 21, 2009 at 2:11 PM, Pierre Hanser wrote: > hello > > I'm trying to use simplejson to encode some > python objects using simplejson dumps method. > > The dumps method accept a cls parameter to specify > an alternate encoder. But it seems that this alternate > encoder is called only as

simplejson: alternate encoder not called enought

2009-03-21 Thread Pierre Hanser
hello I'm trying to use simplejson to encode some python objects using simplejson dumps method. The dumps method accept a cls parameter to specify an alternate encoder. But it seems that this alternate encoder is called only as a last resort, if object type is not int, string, and all other basic