« Return to Thread: json_to_term EEP

Re: json_to_term EEP

by Gustavo Niemeyer :: Rate this Message:

Reply to Author | View in Thread

> 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
_______________________________________________
erlang-questions mailing list
erlang-questions@...
http://www.erlang.org/mailman/listinfo/erlang-questions

 « Return to Thread: json_to_term EEP