If you want to do this with the current version of JSON you can use Julia's readall
method to get a string from a file.
Pkg.clone("JSON")
will get you the latest development version of JSON.jl (as opposed to the latest released version) – it seems parsefile
is not released yet.