From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christopher Allan Webber Newsgroups: gmane.lisp.guile.user Subject: Re: guile-json 0.5.0 released Date: Wed, 24 Feb 2016 09:07:13 -0800 Message-ID: <877fhukpfi.fsf@dustycloud.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1456333659 27826 80.91.229.3 (24 Feb 2016 17:07:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Feb 2016 17:07:39 +0000 (UTC) Cc: guile-user To: Aleix Conchillo =?utf-8?Q?Flaqu=C3=A9?= Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Feb 24 18:07:32 2016 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aYcuO-0006He-OY for guile-user@m.gmane.org; Wed, 24 Feb 2016 18:07:28 +0100 Original-Received: from localhost ([::1]:37200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYcuO-0007Wc-4V for guile-user@m.gmane.org; Wed, 24 Feb 2016 12:07:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYcuF-0007WU-1f for guile-user@gnu.org; Wed, 24 Feb 2016 12:07:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYcuB-0000LE-Jw for guile-user@gnu.org; Wed, 24 Feb 2016 12:07:18 -0500 Original-Received: from dustycloud.org ([50.116.34.160]:54028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYcuB-0000Kw-FH for guile-user@gnu.org; Wed, 24 Feb 2016 12:07:15 -0500 Original-Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 67B952661D; Wed, 24 Feb 2016 12:07:14 -0500 (EST) User-agent: mu4e 0.9.13; emacs 24.5.1 In-reply-to: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 50.116.34.160 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:12439 Archived-At: Aleix Conchillo Flaqu=C3=A9 writes: > Hi, > > I am happy to announce a new minor guile-json release 0.5.0. This > release allows converting simple alists to json. Thanks to Jan > Nieuwenhuizen! > > For example: > > scheme@(json)> (scm->json-string '((a . 1) (b . 2))) > $2 =3D "{\"a\" : 1,\"b\" : 2}" > > For installation details and documentation: > > https://github.com/aconchillo/guile-json > > Happy hacking! > > Aleix That's interesting! BTW, how do you differentiate between these two cases? {"a": ["b", "c", "d"]} ["a", "b", "c", "d"] AFAICT both in scheme would be represented as: '("a" . ("b" "c" "d")) ... or can only symbols be keys?