Import dependencies in livebook?

I need to parse a json file (~50MB).

I can read the file by body =!(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?

1 Like


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

and Poison will be available