Mark J. Reed wrote:

> When hand-constructing or -editing JSON, it's a good idea to run it
> through a parser to make sure it's valid. Modern python installs come
> with a module for that.  Just save the JSON in a file and run
>
> python -mjson.tool <filename
>
> It will either spit out an error message or else pretty-print the
> JSON, in which case you know it's valid.

You can also use http://jsonlint.com/ for the same purpose.

Nils.
------------------------------------------------------------------------
 VPRO
 phone:  +31(0)356712911
 e-mail: [email protected]
 web:    www.vpro.nl
------------------------------------------------------------------------

Reply via email to