Answers for "elixir jason"

0

jason elixir

iex(1)> Jason.encode!(%{"age" => 44, "name" => "Steve Irwin", "nationality" => "Australian"})
"{"age":44,"name":"Steve Irwin","nationality":"Australian"}"

iex(2)> Jason.decode!(~s({"age":44,"name":"Steve Irwin","nationality":"Australian"}))
%{"age" => 44, "name" => "Steve Irwin", "nationality" => "Australian"}
Posted by: Guest on July-31-2020

Browse Popular Code Answers by Language