From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 03E24431FBC for ; Wed, 25 Nov 2009 10:03:12 -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 SjZQ+nqbX42a for ; Wed, 25 Nov 2009 10:03:11 -0800 (PST) Received: from mail-yw0-f200.google.com (mail-yw0-f200.google.com [209.85.211.200]) by olra.theworths.org (Postfix) with ESMTP id 7A305431FAE for ; Wed, 25 Nov 2009 10:03:11 -0800 (PST) Received: by ywh38 with SMTP id 38so7213542ywh.6 for ; Wed, 25 Nov 2009 10:03:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.91.153.15 with SMTP id f15mr5587675ago.77.1259172185698; Wed, 25 Nov 2009 10:03:05 -0800 (PST) In-Reply-To: <1259171760-sup-1293@lisa> References: <1259164514-sup-196@lisa> <935ead450911250946t76bfa0d2k7da3154bbc57b10b@mail.gmail.com> <1259171760-sup-1293@lisa> Date: Wed, 25 Nov 2009 12:03:05 -0600 Message-ID: <935ead450911251003k72c790e0lfc05d9b300391d5c@mail.gmail.com> From: Jeffrey Ollie To: Scott Robinson Content-Type: text/plain; charset=UTF-8 Cc: notmuch Subject: Re: 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:03:12 -0000 On Wed, Nov 25, 2009 at 11:58 AM, Scott Robinson wrote: > > I selected cJSON because it was simple for integration. Given how libsha1.c is > included in lib/, I figured adding a depedency wouldn't be very popular. Oh, I noticed libsha1.c as well, and it bugs the heck out of me. I just haven't gotten around to doing anything about it yet. > 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. -- Jeff Ollie