From user-return-19420-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Tue Jan 10 10:37:03 2012 Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B7C38B2E8 for ; Tue, 10 Jan 2012 10:37:02 +0000 (UTC) Received: (qmail 68922 invoked by uid 500); 10 Jan 2012 10:17:38 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 68602 invoked by uid 500); 10 Jan 2012 10:16:59 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 68572 invoked by uid 99); 10 Jan 2012 10:16:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2012 10:16:53 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of danbryan@gmail.com designates 209.85.213.52 as permitted sender) Received: from [209.85.213.52] (HELO mail-yw0-f52.google.com) (209.85.213.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2012 10:16:46 +0000 Received: by yhnn12 with SMTP id n12so2210181yhn.11 for ; Tue, 10 Jan 2012 02:16:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:message-id:in-reply-to:references:subject:x-mailer :mime-version:content-type; bh=5AFsz80t7rL5/Qe7P6fBf7B1s7Uzdqu7Ug/KgCP6EfQ=; b=g7CMvkCJpnTBJ44TVWKvbkNxMG0AtTOQQkDSbefZhY7eGUwzPt1dOt4QhpzQkB4b89 Zvo9or/0WT9xVRuMSLOaurnl+UKDSeXVrvkfjtGmE91MiuB78KDHlHjrMAkQEmtdNq1u Y2ihfBs1X4ROLocQFU8ZcEfMr5qZZvbPubqig= Received: by 10.236.77.170 with SMTP id d30mr25246989yhe.67.1326190586200; Tue, 10 Jan 2012 02:16:26 -0800 (PST) Received: from lesta.local (14-200-158-247.static.tpgi.com.au. [14.200.158.247]) by mx.google.com with ESMTPS id b36sm71506104yhj.22.2012.01.10.02.16.23 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 10 Jan 2012 02:16:25 -0800 (PST) Date: Tue, 10 Jan 2012 21:16:19 +1100 From: Daniel Bryan To: user@couchdb.apache.org Message-ID: <90DA2292C1AA4BDF9B82DD05B6DA0803@gmail.com> In-Reply-To: <572CC8E6-6CAE-44EC-8760-DDB19256518F@utt.fr> References: <572CC8E6-6CAE-44EC-8760-DDB19256518F@utt.fr> Subject: Re: i have a bulk insert problem about invalid json X-Mailer: sparrow 1.4.2 (build 959.4) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="4f0c0ff3_1716703b_3dad" --4f0c0ff3_1716703b_3dad Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'm with Aur=C3=A9lien here: it's really easy to run into problems in bas= h (or your shell of choice) when escaping characters with CURL. I'd perso= nally recommend loading up the data in your scripting language of choice.= Ruby, Python and even Node.js are great environments to work with JSON d= ata and make HTTP requests. On Tuesday, 10 January 2012 at 8:54 PM, Aur=C3=A9lien B=C3=A9nel wrote: > Hi Zekeriya, > =20 > If you want something more user-friendly than curl, use RESTClient inst= ead: > https://addons.mozilla.org/en-US/firefox/addon/restclient/ > =20 > =20 > Regards, > =20 > Aur=C3=A9lien =20 --4f0c0ff3_1716703b_3dad--