Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 07887431FBC for ; Wed, 25 Nov 2009 10:10:55 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FAGcKJtq-3SG for ; Wed, 25 Nov 2009 10:10:54 -0800 (PST) Received: from megan.quadhome.com (megan.quadhome.com [209.9.237.126]) by olra.theworths.org (Postfix) with ESMTP id 32707431FAE for ; Wed, 25 Nov 2009 10:10:54 -0800 (PST) Received: from elise.quadhome.com (97-126-47-108.tukw.qwest.net [97.126.47.108]) by megan.quadhome.com (Postfix) with ESMTPSA id 04854B8032; Wed, 25 Nov 2009 10:10:52 -0800 (PST) Content-Type: text/plain; charset=UTF-8 From: Scott Robinson To: Jeffrey Ollie In-reply-to: <935ead450911251003k72c790e0lfc05d9b300391d5c@mail.gmail.com> References: <1259164514-sup-196@lisa> <935ead450911250946t76bfa0d2k7da3154bbc57b10b@mail.gmail.com> <1259171760-sup-1293@lisa> <935ead450911251003k72c790e0lfc05d9b300391d5c@mail.gmail.com> Date: Wed, 25 Nov 2009 10:10:50 -0800 Message-Id: <1259172542-sup-7735@lisa> User-Agent: Sup/0.9 Content-Transfer-Encoding: 8bit Cc: notmuch Subject: Re: [notmuch] Using notmuch from Ruby, Python, et al. X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Nov 2009 18:10:55 -0000 Excerpts from Jeffrey Ollie's message of Wed Nov 25 10:03:05 -0800 2009: > On Wed, Nov 25, 2009 at 11:58 AM, Scott Robinson wrote: > > Would it be better to link with a previously existing library? > > IMHO yes. I was looking at json-glib because it seems to be the only > C JSON API in Fedora, plus it's based upon glib. From what I've read > it should be really easy to serialize a GMimeObject to a JSON > structure with very few calls using json-glib. I'm taking a look at json-glib now. But, it doesn't look to support streaming output. -- Scott Robinson | http://quadhome.com/ Q: Why are my replies five sentences or less? A: http://five.sentenc.es/