[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile-json 4.2.0 released
From: |
Bill Markmann |
Subject: |
Re: guile-json 4.2.0 released |
Date: |
Thu, 2 Jul 2020 10:55:22 -0400 |
It looks like the surface API is different, but the internal json <-->
scheme records functionality overlaps... Any thoughts on whether
guile-json would serve as the underpinnings of an implementation of
srfi-180?
https://srfi.schemers.org/srfi-180/srfi-180.html
https://github.com/scheme-requests-for-implementation/srfi-180
- Bill
On Thu, Jul 2, 2020 at 9:08 AM Ludovic Courtès <ludo@gnu.org> wrote:
> Hi,
>
> Aleix Conchillo Flaqué <aconchillo@gmail.com> skribis:
>
> > * Changes since 4.1.0
> >
> > https://github.com/aconchillo/guile-json/blob/master/NEWS
>
> --8<---------------cut here---------------start------------->8---
> - Introduce (define-json-mapping) which allows converting a JSON object
> into
> a record type and vice versa. The initial code for this feature was
> copied
> from the GNU Guix project.
> --8<---------------cut here---------------end--------------->8---
>
> Nice! :-)
>
> There’s a bidirectional version here, but it’s slightly incompatible:
>
>
> https://gitlab.inria.fr/guix-hpc/guix-kernel/-/blob/master/jupyter/json.scm
>
> It relies on (guix records), which is not great for Guile-JSON.
>
> Ludo’.
>
>
>