Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #72077

Re: Verify JSON Data

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <gheskett@shentel.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.169
X-Spam-Level *
X-Spam-Evidence '*H*': 0.68; '*S*': 0.02; 'received:localnet': 0.09; '127': 0.16; '255': 0.16; 'grounds': 0.16; 'roy': 0.16; 'soap,': 0.16; ':-)': 0.16; 'wrote:': 0.18; 'cheers,': 0.24; 'header:In- Reply-To:1': 0.27; 'url:non-standard http port': 0.33; "i'd": 0.34; 'problem': 0.35; 'received:209.85': 0.35; 'monday': 0.35; 'received:google.com': 0.35; 'received:209': 0.37; 'whatever': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'is.': 0.60; 'header:Message-Id:1': 0.63; 'charset:windows-1256': 0.64; 'mar': 0.68; 'smith': 0.68; 'received:204': 0.75; 'article': 0.77; 'smoking': 0.84; 'boxes': 0.91
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=iBDQsshOHBGUtJHqPcQ/lX2JWnLsTij7bSYlDhSOlxU=; b=kmLDe9Ik+DOzyPIUkdleAWBcDx03UKI24WXuODZXSdZ8dzdeVGJaTIut5nS0wy1urn iHRGKdcZtJDPyjixM6dWxv/d5YpTulqeu/c/NTgtwPlbaZakZAG1/J6nIfR5pSv0T2Bi U2G9glarq0oboxalbQqiTipkFmxtIeXilluIKBv0rKi+JlDBjHb3k2oq+YjlTyFAn3Nx Cm3/WA3QlaDAA3+3ouaaYJrIfsHZXdmfnKyURPt7qh0mb5gKqiyGyaAPQS/1UkWCU7L2 Zxq/TvRqsOyJYgf3bXPTAbkcpd104JIjvDfmB6rlTRpp8X2xd/v7yEkeoekKKPxz454/ P8zA==
X-Gm-Message-State ALoCoQnGfUg7L7Ni6gEM2k08O29088YBWlrGExqXIJ/d/1WcGLLcXuCqduNMQyFQUYaZjFRV2kWZ
X-Received by 10.140.51.172 with SMTP id u41mr32138362qga.69.1401122609319; Mon, 26 May 2014 09:43:29 -0700 (PDT)
From Gene Heskett <gheskett@shentel.net>
X-Google-Original-From Gene Heskett <gheskett@wdtv.com>
To python-list@python.org
Subject Re: Verify JSON Data
Date Mon, 26 May 2014 12:43:27 -0400
References <e26d3f14-ac97-4abd-bdfc-699d9ed2175c@googlegroups.com> <mailman.10347.1401119046.18130.python-list@python.org> <roy-89A928.11552926052014@news.panix.com>
In-Reply-To <roy-89A928.11552926052014@news.panix.com>
MIME-Version 1.0
Content-Type Text/Plain; charset="windows-1256"
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.10351.1401122617.18130.python-list@python.org> (permalink)
Lines 32
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1401122617 news.xs4all.nl 2930 [2001:888:2000:d::a6]:47564
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:72077

Show key headers only | View raw


On Monday 26 May 2014 11:55:29 Roy Smith did opine
And Gene did reply:
> In article <mailman.10347.1401119046.18130.python-list@python.org>,
> 
>  Gene Heskett <gheskett@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@coyote:~$ echo '[1, 2, 3]' | json_xs -t null 2>/dev/null; echo
> > $? 127
> > gene@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Verify JSON Data gaurangnshah@gmail.com - 2014-05-26 07:26 -0700
  Re: Verify JSON Data Roy Smith <roy@panix.com> - 2014-05-26 11:19 -0400
    Re: Verify JSON Data Gene Heskett <gheskett@shentel.net> - 2014-05-26 11:37 -0400
      Re: Verify JSON Data Roy Smith <roy@panix.com> - 2014-05-26 11:55 -0400
        Re: Verify JSON Data Chris Angelico <rosuav@gmail.com> - 2014-05-27 02:02 +1000
        Re: Verify JSON Data Gene Heskett <gheskett@shentel.net> - 2014-05-26 12:43 -0400
    Re: Verify JSON Data Chris Angelico <rosuav@gmail.com> - 2014-05-27 01:58 +1000
    Re: Verify JSON Data Chris Angelico <rosuav@gmail.com> - 2014-05-27 02:00 +1000
  Re: Verify JSON Data Burak Arslan <burak.arslan@arskom.com.tr> - 2014-05-26 17:28 +0200
  Re: Verify JSON Data Denis McMahon <denismfmcmahon@gmail.com> - 2014-05-26 15:43 +0000
  Re: Verify JSON Data Gene Heskett <gheskett@shentel.net> - 2014-05-26 12:44 -0400
  Re: Verify JSON Data Grant Edwards <invalid@invalid.invalid> - 2014-05-26 18:35 +0000
    Re: Verify JSON Data Rustom Mody <rustompmody@gmail.com> - 2014-05-26 21:28 -0700

csiph-web