title: How to parse a JSON Scala without case classes
body: <p>I have a JSON that can change through time and using case Class might be unconvenient because I need to change the structure of it everytime the JSON change.</p>
  
  <p>for example, if I have a JSON like this:</p>
  
  <pre><code>val json= """{
    "accounts": [
    { "emailAccount": {
      "accountName": "YMail",
      "username": "USERNAME",
      "password": "PASSWORD",
      "url": "imap.yahoo.com",
      "minutesBetweenChecks": 1,
      "usersOfInterest": ["barney", "betty", "wilma"]
    }},
    { "emailAccount": {
      "accountName": "Gmail",
      "username": "USER",
      "password": "PASS",
      "url": "imap.gmail.com",
      "minutesBetweenChecks": 1,
      "usersOfInterest": ["pebbles", "bam-bam"]
    }}
    ]
  }"""
  </code></pre>
  
  <p>can I access to it with something like:</p>
  
  <pre><code>val parsedJSON = parse(json)
  parsedJSON.accounts(0).emailAccount.accountName
  </code></pre>