From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= Newsgroups: gmane.lisp.guile.user Subject: guile-json 4.5.0 (introducing JSON types) Date: Sun, 3 Jan 2021 00:48:42 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14322"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sun Jan 03 09:49:20 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kvz4i-0003aM-0g for guile-user@m.gmane-mx.org; Sun, 03 Jan 2021 09:49:20 +0100 Original-Received: from localhost ([::1]:44006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kvz4g-0007II-SA for guile-user@m.gmane-mx.org; Sun, 03 Jan 2021 03:49:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kvz4L-0007I9-ET for guile-user@gnu.org; Sun, 03 Jan 2021 03:48:57 -0500 Original-Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:35754) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kvz4J-0004x4-Qw for guile-user@gnu.org; Sun, 03 Jan 2021 03:48:57 -0500 Original-Received: by mail-pf1-x429.google.com with SMTP id c79so14513156pfc.2 for ; Sun, 03 Jan 2021 00:48:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=eYTGlDd67kaTBwyW4pO+VCTjTLCN8UuY46llLghrKZ4=; b=Ijb7hsj4erb0dXxsI5HMsy8T4It1L2QZXuOiCiURCMG8S9vqZ9JHuAU5mDjC7pKT4i oADtQqqdZuK5Dku5sfL1ojxaKvQVFGSYgl945qcL3HhF6shnm30HOm804k1zPIwFp6hA g6rvqP6u2k76Qc4BVVljF4ch8csUxE8r1n/amz2qao6clGBwfoniVwLIkBHEudlfjboU l1/BRds/2x6LfQQH9aTm3tvqk1Swuu6FrsJHo/sd37pLR+lunfVCDMh+Mic0pHHBbE0M V1r4sLcGJs6UaHUVcDkKDXePOm1b+k1mivmHqeFKgXHptxT46jJ6x8HNQ6KsHNxVMmVA dJgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=eYTGlDd67kaTBwyW4pO+VCTjTLCN8UuY46llLghrKZ4=; b=ebJ9DU8ERoaNf8QO7qWBeqZ9M77+fd+WdzFwsxzxc9Zr+JgbHgVwG0DbIietyqeEaN 1+0B543VBBN4h8PNDn581NKAtTGyq88li2gKBvvfp67Kl7wvyitrgMIwL8ciEqDsvXsq cYjqgbIaynLVpRkWfLHPl8cjCKTsUVF1fW5uxJAadqzsd1uLVjvA8N7sKaevHPEtX5zn qQCweGcIDSZjwzvAgCMYRUZPvHoDkiCdc6O/TF3XGlkcOnzqAfotDMXDpN9NFnpadtuJ 6d2KpmrVx52ZeZ3B06JTPONXSHGeYHBsBOLJZvSAwIWTu+s4aTsvWF8UaYiz7qtZHXfa YgtQ== X-Gm-Message-State: AOAM530iv+rwxzC9YoM51BaAHOzmbhI8PMbH4qYhqENanOdVxQivoCAd +hpT6vN4qkjjiNgKUpI2tO+eBtwNU6cowV39eJyNLggNtbnDKA== X-Google-Smtp-Source: ABdhPJxvV2VcjjxdQ3rDngcXbH0iG5zHuCMlo29vtGDP/NqGxQ1BPhxKWOk9Xhz+3M75k8vYSHR0S/hKoYnpPmcNkJg= X-Received: by 2002:a63:c444:: with SMTP id m4mr66093928pgg.420.1609663733320; Sun, 03 Jan 2021 00:48:53 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=aconchillo@gmail.com; helo=mail-pf1-x429.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17142 Archived-At: Happy New Year! I'm excited to announce guile-json 4.5.0. This version introduces a new way of defining a mapping between JSON objects and records. https://github.com/aconchillo/guile-json/ Version 4.2.0 introduced (define-json-mapping), which was copied from Guix, as an easy way to define JSON objects as record types (and vice versa). One could do: (define-json-mapping make-account account? json->account (id account-id) (username account-username)) In this new version we add (define-json-type) which is implemented on top of (define-json-mapping) as even a simpler way to define these same mappings: (define-json-type (id) (username)) See README for more details. * About guile-json is a JSON module for Guile. It supports parsing and building JSON documents according to the http://json.org specification. - Complies with http://json.org specification. - Builds JSON documents programmatically using scheme data types. - Allows JSON pretty printing. * Download Compressed sources and a GPG detached signature[*]: https://download.savannah.nongnu.org/releases/guile-json/guile-json-4.5.0.tar.gz https://download.savannah.nongnu.org/releases/guile-json/guile-json-4.5.0.tar.gz.sig [*] To verify download both files and then run: gpg --keyserver keys.openpgp.org \ --recv-keys 7CEC5511C8D057A9EF17470C54D4CC6FFC7468F4 gpg --verify guile-json-4.5.0.tar.gz.sig * Changes since 4.5.0 https://github.com/aconchillo/guile-json/blob/master/NEWS Bugs and comments can be reported at https://github.com/aconchillo/guile-json/issues Happy hacking! Aleix