unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Christopher Allan Webber <cwebber@dustycloud.org>
To: "Aleix Conchillo Flaqué" <aconchillo@gmail.com>
Cc: guile-user <guile-user@gnu.org>
Subject: Re: guile-json 0.5.0 released
Date: Wed, 24 Feb 2016 09:07:13 -0800	[thread overview]
Message-ID: <877fhukpfi.fsf@dustycloud.org> (raw)
In-Reply-To: <CA+XASoW7-2NXAwj2geczaOzbuJn2d=4o_+r4hupbiAzKdmHS4A@mail.gmail.com>

Aleix Conchillo Flaqué 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 = "{\"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?



  reply	other threads:[~2016-02-24 17:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-24  6:23 guile-json 0.5.0 released Aleix Conchillo Flaqué
2016-02-24 17:07 ` Christopher Allan Webber [this message]
2016-02-24 19:09   ` Jan Nieuwenhuizen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877fhukpfi.fsf@dustycloud.org \
    --to=cwebber@dustycloud.org \
    --cc=aconchillo@gmail.com \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).