incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nils Breunese <N.Breun...@vpro.nl>
Subject Re: curl POST to couchdb's _temp_view on OSX => invalid UTF-8
Date Fri, 26 Nov 2010 16:50:23 GMT
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: info@vpro.nl
 web:    www.vpro.nl
------------------------------------------------------------------------

Mime
View raw message