title: Converting JSON data to Java object
body: <p>I want to be able to access properties from a JSON string within my Java action method. The string is available by simply saying <code>myJsonString = object.getJson()</code>. Below is an example of what the string can look like:</p>
  
  <pre><code>{
      'title': 'ComputingandInformationsystems',
      'id': 1,
      'children': 'true',
      'groups': [{
          'title': 'LeveloneCIS',
          'id': 2,
          'children': 'true',
          'groups': [{
              'title': 'IntroToComputingandInternet',
              'id': 3,
              'children': 'false',
              'groups': []
          }]
      }]
  }
  </code></pre>
  
  <p>In this string every JSON object contains an array of other JSON objects. The intention is to extract a list of IDs where any given object possessing a group property that contains other JSON objects. I looked at Google's Gson as a potential JSON plugin. Can anyone offer some form of guidance as to how I can generate Java from this JSON string?</p>