I need to parse a json file (~50MB).
I can read the file by body = File.read!(filename)
.
How do I get json representation via Poison.decode(body)
in Livebook?
In general, how do I import dependencies (like mix.exs
) in Livebook?
I need to parse a json file (~50MB).
I can read the file by body = File.read!(filename)
.
How do I get json representation via Poison.decode(body)
in Livebook?
In general, how do I import dependencies (like mix.exs
) in Livebook?
To load a Mix.exs go to the sidebar and choose RUNTIME SETTING (you can see the options is selectd in the image, then you click on the GEAR and you choose MIX STAND ALONE and choose the location of your mix.exs
If you close your livebook, when you reopen it you will have to do this process again.
Another way is just to run Mix.install
Mix.install([:poison])
and Poison will be available
the video is private.