alavrik / erlson

Erlang Simple Object Notation - dynamic name-value dictionary data type and syntax for Erlang
MIT License
81 stars 17 forks source link

JSON encoder/decoder behaviour #2

Open si14 opened 13 years ago

si14 commented 13 years ago

This library would be definitely better if you would allow custom JSON encoder/decoder behaviour. For example, one can use a JAX.

alavrik commented 13 years ago

Did you mean jsx?

If I understood you correctly, it shouldn't be very hard to add support for more JSON engines if necessary. I may look into that. I'm also very open to contributions and pull requests.

si14 commented 13 years ago

Yes, jsx, sorry for my mistake. And sorry for another mistake in my first post, I meant that you can write a custom behaviour that would make plugging of custom JSON parser way easier.