Re: JSON in OTP
Max Lapshin <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <CAMxVRxBhW6XqmYvhm5s7Rt+dGqD1Pv2LXs_nr4OsRJAGqZ=o=A@mail.gmail.com> |
First simple question: how to decode json objects into maps if json declares order and erlang maps are unordered? If you decode json object not into maps, then nobody will use this module, because it is very inconvenient. Second question: atoms vs binaries as key values. You have different decoding for different sources (trusted/not trusted). Very inconvenient situation =( And so on with other questions.