[erlang-questions] json_to_term EEP

Gustavo Niemeyer gustavo@REDACTED
Fri Aug 1 17:33:34 CEST 2008


> Does this signal that the Erlang community is moving away from
> strings-as-lists to strings-as-binaries?  Should we have an option in the
> JSON functionality to return keys and values as strings-as-lists?  Should
> this be the default?  Not advocating, just asking.

Note that doing something like this for that specific case would require
additional syntax to be able to distinguish a list of ints in JSON from a
plain string.  Not sure if it was taken in consideration when writing the
EEP, but it likely was.

-- 
Gustavo Niemeyer
http://niemeyer.net



More information about the erlang-questions mailing list