elixir-poison Questions

1

I have problems with consolidation of protocol implementation in my Elixir project. To be more specific I use Ecto and some simple project called Gold (doesn't matter much atm). The problem is, bot...
Titograd asked 5/7, 2016 at 21:30

1

Solved

I'm using Poison to encode a map to JSON that will send it to the Slack API. This is what Poison gives me: "{\"text\":\"changed readme fad996e98e04fd4a861840d92bdcbbcb1e1ec296\"}" When I put tha...
Fertile asked 16/7, 2016 at 19:15

1

Solved

ab = %{a: 1} ac = %{"a" => 1} What exactly is the difference? And why does Poison.decode! return format #2 (I need #1 to use with Ecto.Changeset.change). Json response is taken from API and l...
Figural asked 6/9, 2016 at 4:21

1

For reading purposes I would like to have a specific key order into the json file. I know that map's key doesn't have any order and then we should not rely on that, but since Poison is not able to...
Rectus asked 26/5, 2016 at 9:44
1

© 2022 - 2024 — McMap. All rights reserved.