On Thu, Jul 2, 2020 at 6:08 AM Ludovic Courtès <l...@gnu.org> wrote:
> Hi, > > Aleix Conchillo Flaqué <aconchi...@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. > Nice! And thank you! I actually released guile-json 4.3.0 making [<=> RECORD->JSON] optional as in the code you linked. If guix moves to guile-json 4.3.0 I guess you could now remove guix/json.scm, unless you are planning to use guix records there. Best, Aleix