title: Scala read and parse JSON
body: <p>I am new to Scala. I have a JSON file, entitled <code>scala_input.json</code> containing two items:</p>
  
  <pre><code>{
   "edges_file": "/path/edges.json.gz", 
   "seed_file": "/path/seed.json.gz"
  }
  </code></pre>
  
  <p>I wish to open the file, parse and attribute two <code>val</code> from this file. I have tried:</p>
  
  <pre><code>val input_file = "/path/scala_input.json"
  val json_data = JSON.parseFull(input_file)
  val edges_file = json_data.get.asInstanceOf[Map[String, Any]]("edges_file").asInstanceOf[String]
  val seeds_file = json_data.get.asInstanceOf[Map[String, Any]]("seed_file").asInstanceOf[String]]
  </code></pre>
  
  <p>However, this returns <code>java.util.NoSuchElementException: None.get</code>. What is it I have not defined? <code>json_data</code> and <code>input_file</code> are correct and I am sure that <code>edges_file</code> and <code>seed_file</code> exist.</p>