ex_crypto
ex_crypto copied to clipboard
Replace Poison with Jason
- Replace
Poison
withJason
for JSON encoding/decoding - Update hex_doc version
- Format code with
mix format
What is the motivation for using Jason
rather than Poison
?
Jason is faster and "smaller", many projects already switched to Jason.
I came here to request these changes as well. As Phoenix comes with Jason already as a dependency, many projects are following suite to keep from bringing in dependencies that do the same thing.
If you don't want to use a json library directly, then maybe we could tie it to a behaviour or something like https://github.com/scrogson/oauth2/#configure-a-serializer
Another example of people asking for this https://github.com/parroty/extwitter/issues/121
I'm not opposed to using Jason :)
Mostly I need to figure out why Travis isn't running the CI jobs anymore :(
Can somebody merge this? Oh, I see Poison has a new maintainer now 🤔