Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR ELIXIR

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"}
Source by github.com #
 
PREVIOUS NEXT
Tagged: #jason #elixir
ADD COMMENT
Topic
Name
1+4 =