[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guile-json 0.2.0 released
From: |
Aleix Conchillo Flaqué |
Subject: |
Re: guile-json 0.2.0 released |
Date: |
Thu, 4 Apr 2013 15:59:52 -0700 |
Thank you both for the comments.
I must admit that I got kind of lost and I ended up not knowing if you
had any specific suggestions for guile-json. It is my very first guile
(scheme) package and I am pretty new to scheme.
>From what I understood, the main concerns were:
1. Hash tables might not be a proper way to represent JSON objects.
2. Syntax for accessing JSON objects.
For 1, as Taylan mentioned, json.org clearly says that JSON objects
are unordered. So I thought a hash table was the right data structure
to use. I initially thought about using association lists, but that's
ordered and performance might be worst for large objects.
May be it would be better to have a json-object type and procedures to
access it (json-object-ref ...) and internally it could be a hash
table, or an alist. Then, maybe, the user could specify if he wants to
get ordered json-objects or not, and internally use hash tables or
alists.
For 2, yes, a better syntax would be ideal. I don't know about
SRFI-105, but I'll take a look into it.
Best,
Aleix
- guile-json 0.2.0 released, Aleix Conchillo Flaqué, 2013/04/02
- Re: guile-json 0.2.0 released, Panicz Maciej Godek, 2013/04/04
- Re: guile-json 0.2.0 released, Taylan Ulrich B., 2013/04/04
- Re: guile-json 0.2.0 released, Daniel Hartwig, 2013/04/04
- Re: guile-json 0.2.0 released, Panicz Maciej Godek, 2013/04/07
- Re: guile-json 0.2.0 released, Taylan Ulrich B., 2013/04/07
- Re: guile-json 0.2.0 released, Daniel Hartwig, 2013/04/07
- Re: guile-json 0.2.0 released, Daniel Hartwig, 2013/04/07
- Re: guile-json 0.2.0 released, Daniel Hartwig, 2013/04/04
- Re: guile-json 0.2.0 released, Noah Lavine, 2013/04/04
- Re: guile-json 0.2.0 released, Daniel Hartwig, 2013/04/05
- Re: guile-json 0.2.0 released, Noah Lavine, 2013/04/05