Verify JSON Data

Gene Heskett gheskett at shentel.net
Mon May 26 12:43:27 EDT 2014


On Monday 26 May 2014 11:55:29 Roy Smith did opine
And Gene did reply:
> In article <mailman.10347.1401119046.18130.python-list at python.org>,
> 
>  Gene Heskett <gheskett at shentel.net> wrote:
> > > $ echo '[1, 2, 3]' | json_xs -t null 2>/dev/null; echo $?
> > 
> > 0
> > 
> > > $ echo '[1; 2, 3]' | json_xs -t null 2>/dev/null; echo $?
> > 
> > 255
> > 
> > 
> > gene at coyote:~$ echo '[1, 2, 3]' | json_xs -t null 2>/dev/null; echo
> > $? 127
> > gene at coyote:~$ echo '[1; 2, 3]' | json_xs -t null 2>/dev/null; echo
> > $? 127
> 
> I don't see what the problem is.  On average, we got the same result
> :-)

If I was still smoking Roy, I'd ask for a hit on whatever you are having. 
:)

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS



More information about the Python-list mailing list