From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= Newsgroups: gmane.lisp.guile.user Subject: Re: guile-json 2.0.0 released Date: Sat, 29 Dec 2018 15:51:50 -0800 Message-ID: References: <87y38meqbo.fsf@gnu.org> <87lg4lzt9l.fsf@gnu.org> <87sgysqx95.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1546128218 10992 195.159.176.226 (30 Dec 2018 00:03:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 30 Dec 2018 00:03:38 +0000 (UTC) Cc: guile-user To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Dec 30 01:03:34 2018 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdOZq-0002mZ-0j for guile-user@m.gmane.org; Sun, 30 Dec 2018 01:03:34 +0100 Original-Received: from localhost ([127.0.0.1]:42157 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdObw-0003a6-MS for guile-user@m.gmane.org; Sat, 29 Dec 2018 19:05:44 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdObK-0003Mz-CK for guile-user@gnu.org; Sat, 29 Dec 2018 19:05:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdOOi-0003Qm-OB for guile-user@gnu.org; Sat, 29 Dec 2018 18:52:05 -0500 Original-Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]:38405) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gdOOh-0003P7-GE; Sat, 29 Dec 2018 18:52:03 -0500 Original-Received: by mail-lj1-x232.google.com with SMTP id c19-v6so21399957lja.5; Sat, 29 Dec 2018 15:52:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=UNL5847xpWEg3eBMA0RIS2mDetXeci8eSbJyhxuNXaA=; b=Bz1XMw6kHWqX54g3AudK/Z8E2r5M35Wr2ivXnjbHDmQTgU90oVHTUdWK7RQZbPoI98 th6nm9hEA8WCoO56JJeIECJrGKh0d5UKqfm3l2DW24obLeusos8C/s76+MV90Wc41bOu EY5K+05l5EFN323pzMxCz0jnEqgb3cNquQyow0aDkt/3x27kx0LzUgA8JSQEPuJphTXe GtWfzqkeNVnMXsM8fGSmesXqQ6nhS9sVJ+hXYWxqasQys3cEzb/EetkIls70RtXHnAOw SlENqUhN/59DG7Gg8MBMhWX7FSGTjxqUo0oRz5MgN92p21wV1hyU3LO8EdszwvFnHU0y KGFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=UNL5847xpWEg3eBMA0RIS2mDetXeci8eSbJyhxuNXaA=; b=ZzXjWLsP/X/SXG8zCNt4YflS2nSxkr5MRdY7mLkIr2GC0wl5YLhUh4uQK6cmXJmlmp mkU+Jvq7OPacVzCMAxGYFrlDqbiQiYx+21GhYtVijfX9dJ0W+yWtlri+v9j6ZuHe76ww 9rsn0+meJje4AUoH8E7R60XKGEPHGTcQwRKTjkPtJBz/NfwSBAIYaiHzT3FXn7nGxDAe Gy4oWdRbB984oNgKCQIWkdvakx5ls4RjrcGRmBfw4b9ACAyLZWU8vEYB+qpfH18epw6R u5N+e5MVQvlx+0jRKExHIa2uKe+2cQG1ofapW1GbLL30PYanJZan0P+euGe35Sv9KpEL iOdQ== X-Gm-Message-State: AJcUukd6LaNbQpckBwldERL+uHhZbUZ/B+76SSh1XVi7+sZWHRrlAozp Wgczx0XJUs4tNKupwLeTUn9hAxf7WWrIvTHrolTLu95P X-Google-Smtp-Source: ALg8bN6IsJ2rSZ8Ch7WFbA5hHdZpEdPjHGWBe/7vvJ587fr7ILUbcvGfiW2dPua8K0zYeRzF/gpjCpdERjg28sxuWlA= X-Received: by 2002:a2e:3e04:: with SMTP id l4-v6mr18000289lja.148.1546127521971; Sat, 29 Dec 2018 15:52:01 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::232 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.lisp.guile.user:15171 Archived-At: On Thu, Dec 20, 2018 at 10:09 AM Aleix Conchillo Flaqu=C3=A9 wrote: > > On Thu, Dec 20, 2018 at 2:59 AM Ludovic Court=C3=A8s wrote= : > > > > Aleix Conchillo Flaqu=C3=A9 skribis: > > > > > On Wed, Dec 19, 2018 at 10:14 AM Aleix Conchillo Flaqu=C3=A9 > > > wrote: > > >> > > >> My guess is that most of the time people build objects with JSON so = it > > >> seems logic to map them to the most convenient way to represent that > > >> in Scheme which would be alists. > > >> > > >> So, I'm really considering switching to alists for objects and vecto= rs > > >> for arrays. > > >> > > > > > > This would be it: > > > > > > https://github.com/aconchillo/guile-json/commits/switch-to-alist-and-= vectors > > > > This seems to affect =E2=80=98scm->json=E2=80=99 (essentially returning= to what we had > > in 1.x, except for arrays) but not =E2=80=98json->scm=E2=80=99 right? > > > > For scm->json yes, we go back to what we had before except for arrays > (now you need vectors). > > For json->scm the change is that it does't return a hash-table for > objects anymore but an alist. Also, for arrays it returns vectors > instead of lists. That's probably the biggest change for the user, but > should be very easy to port. > These changes are now ready here: https://github.com/aconchillo/guile-json/tree/switch-to-alist-and-vectors I'm planning to release guile-json 3.0.0 today or tomorrow unless someone has any other comment. Best, Aleix