Closed kreba closed 3 years ago
ExAws.SES.format_template_data/1 uses the Poison library to encode JSON.
ExAws.SES.format_template_data/1
Poison
In our project we don't have the Poison library installed. We prefer to use Jason instead.
Jason
Bamboo makes the choice of JSON library configurable. The configured value is accessible through Bamboo.json_library/0.
Bamboo.json_library/0
What do you think about using Bamboo's configured JSON library instead of hardcoding Poison? I'd be happy to provide a PR.
Sorry, this was a mistake. The referenced code is not part of this repository :see_no_evil:
This issue should have been opened in ex_aws_ses instead. And in fact it has: ex_aws_ses#9
ex_aws_ses
ExAws.SES.format_template_data/1
uses thePoison
library to encode JSON.In our project we don't have the
Poison
library installed. We prefer to useJason
instead.Bamboo makes the choice of JSON library configurable. The configured value is accessible through
Bamboo.json_library/0
.What do you think about using Bamboo's configured JSON library instead of hardcoding
Poison
? I'd be happy to provide a PR.