╰─ ./eh.rb {"_id"=>{"$oid"=>"59edc036b2d95838569be5f8"}, "terms"=>1, "llp"=>"Doer", "rank"=>"", "morale"=>11, "name"=>"Corinna Vincent", "skills"=>{"Medical"=>1, "Vehicle"=>1, "Survival"=>1, "Leader"=>1}, "gender"=>"F", "age"=>22, "career"=>"Mountainman", "upp"=>{"str"=>3, "dex"=>3, "end"=>4, "int"=>8, "edu"=>8, "soc"=>9}, "upp_s"=>"334889", "careers"=>{"Mountainman"=>1}, "dob"=>1394026, "origin_planet"=>"Birach", "group"=>"Dragons"} ╭─ ytti@eng0 ~ 11:13:57 ╰─ cat eh.rb #!/usr/bin/env ruby require "json" require "pp" people_file = "file.json" k = JSON.parse(File.read(people_file)) pp k.find { |e| e["career"] == "Mountainman" } ╭─ ytti@eng0 ~ 11:14:00 ╰─