Advertisement
Guest User

Untitled

a guest
Feb 20th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. map = File.read!("/path/to/file.json") |> Poison.decode!()
  2. {:ok,of} = File.open("/path/to/file.exs", [:write, :utf8])
  3. IO.inspect(of, map, limit: 100000, pretty: true)
  4. File.close!(of)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement