[erlang-questions] json handling map functions in erlang 17

Tristan Sloughter <>
Wed Feb 5 22:26:36 CET 2014


I ported jsx to maps [1]https://github.com/tsloughter/jsx/tree/maps



But I haven't rebased against the latest jsx in a while...



--
Tristan Sloughter






On Wed, Feb 5, 2014, at 01:22 PM, Björn-Egil Dahlberg wrote:

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.

I do touch on the subject in the EEP
([2]https://github.com/erlang/eep/blob/master/eeps/eep-0043.md) under
"protocol construction".


However, it is encouraged that erlang json libraries make use of maps.
=)

// Björn-Egil


2014-02-05 Zsolt Czinkos <[3]>:

Hi,



I've read about some json handling functions in Joe Armstrong's book

(Programming Erlang, 2nd Edition, Page 84): maps:to_json/1,

maps:from_json/1 and maps:safe_from_json/1.



Now, In erlang shell, I see this. No such functions.



> maps:module_info(exports).

[{fold,3},

 {map,2},

 {size,1},

 {without,2},

 {module_info,0},

 {module_info,1},

 {values,1},

 {update,3},

 {remove,2},

 {put,3},

 {new,0},

 {merge,2},

 {keys,1},

 {is_key,2},

 {from_list,1},

 {get,2},

 {find,2},

 {to_list,1}]



Are these json functions planned to be released in final 17.0?



Thanks,



Zsolt

_______________________________________________

erlang-questions mailing list

[4]

[5]http://erlang.org/mailman/listinfo/erlang-questions




_______________________________________________

erlang-questions mailing list

[6]

[7]http://erlang.org/mailman/listinfo/erlang-questions

References

1. https://github.com/tsloughter/jsx/tree/maps
2. https://github.com/erlang/eep/blob/master/eeps/eep-0043.md
3. mailto:
4. mailto:
5. http://erlang.org/mailman/listinfo/erlang-questions
6. mailto:
7. http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140205/05f506b8/attachment-0001.html>


More information about the erlang-questions mailing list