Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #72082
| From | Grant Edwards <invalid@invalid.invalid> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Verify JSON Data |
| Date | 2014-05-26 18:35 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <lm01ie$e6t$1@reader1.panix.com> (permalink) |
| References | <e26d3f14-ac97-4abd-bdfc-699d9ed2175c@googlegroups.com> |
On 2014-05-26, gaurangnshah@gmail.com <gaurangnshah@gmail.com> wrote:
> Would someone let me know how to verify JSON data in python.
Parse the file into a data structure with whatever parser you like,
then write a program to go thorugh the data structure and verify it.
> There are so many modules available to verify XML file, however i
> didn't find any good module to verify JSON Data.
XML has various "schema" languages which can be used to write a
definition of what is valid and what isn't valid.
There really is anything like that in widespread use for JSON.
> After searching on the internet i came across JSON module, however it
> only coverts the JSON data to python. it's good, however the problem
> comes when JSON response is very large.
What's the problem?
> Is there any module through which i can verify JSON file like DOM or
> Object oriented way. ( i.e. data.key)
I don't know what you're asking.
--
Grant Edwards grant.b.edwards Yow! Actually, what I'd
at like is a little toy
gmail.com spaceship!!
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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