<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>I ported jsx to maps <a href="https://github.com/tsloughter/jsx/tree/maps">https://github.com/tsloughter/jsx/tree/maps</a><br></div>
<div> </div>
<div>But I haven't rebased against the latest jsx in a while...<br></div>
<div> </div>
<div id="sig19305637"><div class="signature">-- </div>
<div class="signature"> Tristan Sloughter</div>
<div class="signature"> tristan.sloughter@gmail.com</div>
<div class="signature"> </div>
</div>
<div> </div>
<div> </div>
<div>On Wed, Feb 5, 2014, at 01:22 PM, Björn-Egil Dahlberg wrote:<br></div>
<blockquote type="cite"><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> </div>
<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>
<div> </div>
<div> </div>
<div>However, it is encouraged that erlang json libraries make use of maps. =)<br></div>
<div> </div>
<div>// Björn-Egil<br></div>
<div> </div>
<div><div> </div>
<div><div>2014-02-05 Zsolt Czinkos <span dir="ltr"><<a href="mailto:czinkos@gmail.com" target="_blank">czinkos@gmail.com</a>></span>:<br></div>
<blockquote 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"><div>
Hi,<br></div>
<div> </div>
<div>
I've read about some json handling functions in Joe Armstrong's book<br></div>
<div>
(Programming Erlang, 2nd Edition, Page 84): maps:to_json/1,<br></div>
<div>
maps:from_json/1 and maps:safe_from_json/1.<br></div>
<div> </div>
<div>
Now, In erlang shell, I see this. No such functions.<br></div>
<div> </div>
<div>
> maps:module_info(exports).<br></div>
<div>
[{fold,3},<br></div>
<div>
{map,2},<br></div>
<div>
{size,1},<br></div>
<div>
{without,2},<br></div>
<div>
{module_info,0},<br></div>
<div>
{module_info,1},<br></div>
<div>
{values,1},<br></div>
<div>
{update,3},<br></div>
<div>
{remove,2},<br></div>
<div>
{put,3},<br></div>
<div>
{new,0},<br></div>
<div>
{merge,2},<br></div>
<div>
{keys,1},<br></div>
<div>
{is_key,2},<br></div>
<div>
{from_list,1},<br></div>
<div>
{get,2},<br></div>
<div>
{find,2},<br></div>
<div>
{to_list,1}]<br></div>
<div> </div>
<div>
Are these json functions planned to be released in final 17.0?<br></div>
<div> </div>
<div>
Thanks,<br></div>
<div> </div>
<div>
Zsolt<br></div>
<div>
_______________________________________________<br></div>
<div>
erlang-questions mailing list<br></div>
<div>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br></div>
<div>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br></div>
<div> </div>
</blockquote></div>
<div> </div>
</div>
</div>
</div>
<div><u>_______________________________________________</u><br></div>
<div>erlang-questions mailing list<br></div>
<div><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br></div>
<div><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a><br></div>
</blockquote></body>
</html>