Unknown value
Line: 0
Around: ... 횏ǑƯ...
^
at In[79]:5
in error at error.jl:21
in _error at /Users/duncan/.julia/v0.2/JSON/src/Parser.jl:43
in parse_value at /Users/duncan/.julia/v0.2/JSON/src/Parser.jl:177
in parse at /Users/duncan/.julia/v0.2/JSON/src/Parser.jl:236
in parse at /Users/duncan/.julia/v0.2/JSON/src/JSON.jl:7
There were a few HTTP clients in Julia. Requests is written mostly in pure julia, and is probably the easiest to use. However, as you saw, it doesnt seem to support gzipped responses yet.
One of the other http client libraries is https://github.com/amitmurthy/HTTPClient.jl . This one wraps the cURL libraries, and thus might support gzip out of the box. you may want to try it out as well.
Re: t.json(), Jula is a much more functional language. So the X.Y() idiom is much less prevalant in Julia. In julia, types dont enclose (or contain) methods, unlike most object oriented language.
I am stumped moving this from Python though:import requestst = requests.get("http://localhost:9000/project/penobscot/volume/penobscot_dz.sgy/1000/1001")print t.json()
using PyCall@pyimport requestst = requests.get("......")t[:json]()