* guile-json 4.5.0 (introducing JSON types)
@ 2021-01-03 8:48 Aleix Conchillo Flaqué
0 siblings, 0 replies; only message in thread
From: Aleix Conchillo Flaqué @ 2021-01-03 8:48 UTC (permalink / raw)
To: guile-user
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 <account>
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 <account>
(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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-03 8:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-03 8:48 guile-json 4.5.0 (introducing JSON types) Aleix Conchillo Flaqué
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).