Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- map = File.read!("/path/to/file.json") |> Poison.decode!()
- {:ok,of} = File.open("/path/to/file.exs", [:write, :utf8])
- IO.inspect(of, map, limit: 100000, pretty: true)
- File.close!(of)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement