Questions tagged [elixir-poison]

Poison is a JSON library for Elixir focusing on speed without sacrificing simplicity, completeness, or correctness. Poison uses extensive sub binary matching, a hand-rolled parser using several techniques that are known to benefit HiPE for native compilation, IO list encoding and single-pass decoding. Benchmarks put Poison's performance next to jiffy's. Use this tag in combination with the [elixir] tag.

Poison is a JSON library for Elixir focusing on speed without sacrificing simplicity, completeness, or correctness.

Poison uses extensive sub binary matching, a hand-rolled parser using several techniques that are known to benefit HiPE for native compilation, IO list encoding and single-pass decoding. Benchmarks put Poison's performance next to jiffy's.

Use this tag in combination with the tag.

63 questions
0
votes
1 answer

Encoding json using poison with unicode

I'm using HTTPoison to get the elixir guide website and then parsing it with Floki to build a HTML 2 Jupyter Notebook transformer (with Markdown for the description). I have to put in the ` backtick. \u0060 for code highlighting, which works so far.…
0
votes
1 answer

Why does phoenix controller returns a json which can't be recognized as JSON

I'm trying to replace old rails application by the new phoenix. I'm sending the ajax request and I'm trying to recognize is as JSON via jQuery automatically. The problem is that rails returns this…
Alex Antonov
  • 14,134
  • 7
  • 65
  • 142
-7
votes
1 answer

Need an elixir function that sends a message to a phone number

I am new to programming in general and currently learning Elixir. How do I write a function that sends message to a phone number? I would love to see the syntax. I'm using the Phoenix framework. I saw this, but its not exactly what I want: def…
udehben
  • 11
  • 4
1 2 3 4
5