[erlang-questions] pre-map erlang, json, list of kv pairs

Juan Jose Comellas <>
Thu Mar 6 19:32:27 CET 2014


As Jesper said, there is no official Erlang release with support for maps,
so most JSON libraries still represent parsed JSON documents as k/v lists.
I'm currently working on a project that uses lots of JSON-like documents
and in order to preserve my sanity I wrote
kvlists<https://github.com/jcomellas/kvlists>,
which should greatly simplify the manipulation of JSON documents decoded by
the jsx <https://github.com/talentdeficit/jsx> library. Check the examples
and let me know if there is any particular functionality that you'd find
useful and is not already there.



On Thu, Mar 6, 2014 at 11:15 AM, Jesper Louis Andersen <
> wrote:

>
> On 06 Mar 2014, at 15:04, t x <> wrote:
>
>  I'm already using r17. Are there any json libraries that take
> advantage of this yet?
>
>
> No, you are using 17.0-rc2 which is a release candidate. I don’t know of
> any JSON library taking advantage of maps yet. I expect code to pick up
> maps around the 17.0 release and it will probably be in general use around
> 17.2 when the major bugs have been weeded out.
>
> Maps is a feature that will take time to adopt. It will not happen
> magically over the course of the first release.
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140306/e333d390/attachment.html>


More information about the erlang-questions mailing list