Tue Nov 15 08:45:00 CET 2005
> JSON Arrays <==> Erlang Tuples
I remember the last time I used Erlang I used tuples for arrays and got
a bit sick of typing "element" and "setelement". It would be nice of
there was some syntactic sugar. I guess the Erlang developers themselves
never use tuples that way.
> JSON Objects <==> Erlang Dicts with String keys
> The only awkwardness is with the string keys for the decoded objects.
> If the atom table were garbage collected, I'd use real atoms here.
For my application I'll have a limited number of object types with a
limited number of different keys. So atoms would definitely work better
for me. Maybe we can work out a way to make it a config option of some
More information about the erlang-questions