<div dir="ltr">I have not read Joes final book on the matter (several drafts though) .. and I've told him, twice I think, that there will *not* be any maps to json BIFs to in the maps module. It does not belong in the standard library. <div>
<br></div><div>I do touch on the subject in the EEP (<a href="https://github.com/erlang/eep/blob/master/eeps/eep-0043.md">https://github.com/erlang/eep/blob/master/eeps/eep-0043.md</a>) under "protocol construction".<br>
<div class="gmail_extra"><br></div><div class="gmail_extra">However, it is encouraged that erlang json libraries make use of maps. =)</div><div class="gmail_extra"><br></div><div class="gmail_extra">// Björn-Egil</div><div class="gmail_extra">
<br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-02-05 Zsolt Czinkos <span dir="ltr"><<a href="mailto:czinkos@gmail.com" target="_blank">czinkos@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi,<br>
<br>
I've read about some json handling functions in Joe Armstrong's book<br>
(Programming Erlang, 2nd Edition, Page 84): maps:to_json/1,<br>
maps:from_json/1 and maps:safe_from_json/1.<br>
<br>
Now, In erlang shell, I see this. No such functions.<br>
<br>
> maps:module_info(exports).<br>
[{fold,3},<br>
 {map,2},<br>
 {size,1},<br>
 {without,2},<br>
 {module_info,0},<br>
 {module_info,1},<br>
 {values,1},<br>
 {update,3},<br>
 {remove,2},<br>
 {put,3},<br>
 {new,0},<br>
 {merge,2},<br>
 {keys,1},<br>
 {is_key,2},<br>
 {from_list,1},<br>
 {get,2},<br>
 {find,2},<br>
 {to_list,1}]<br>
<br>
Are these json functions planned to be released in final 17.0?<br>
<br>
Thanks,<br>
<br>
Zsolt<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br></div></div></div>