a_star: don't crash on deserialization errors and limit static types
[nit.git] / benchmarks / json / scripts / json_ext.rb
1 require 'json/ext'
2
3 txt = IO.read(ARGV.first)
4 my_hash = JSON.parse(txt)