title: How to get a value from gson object by key
body: <p>I have been trying to follow along with this solution <a href="https://stackoverflow.com/questions/6153176/how-to-find-specified-name-and-its-value-in-json-string-from-java">How to find specified name and its value in JSON-string from Java?</a></p>
  
  <p>However it does not seem to make sense.</p>
  
  <p>I define a new gson object from a string:</p>
  
  <p>Example of string here: <a href="http://api.soundrop.fm/spaces/XJTt3mXTOZpvgmOc" rel="noreferrer">http://api.soundrop.fm/spaces/XJTt3mXTOZpvgmOc</a></p>
  
  <pre><code>public void convertToJson()
  {
      Gson gson = new Gson();
      Object gsonContent = gson.fromJson( stringContent, RadioContent.class );
  }
  </code></pre>
  
  <p>And then try and return a value:</p>
  
  <pre><code>public Object getValue( String find )
  {
      return gsonContent.find;
  }
  </code></pre>
  
  <p>Finally its called with:</p>
  
  <pre><code>public static void print( String find = "title" )
  {
      Object value = radioContent.getValue( find );
  
      System.out.println( value );
  }
  </code></pre>
  
  <p>However I am getting an error:</p>
  
  <pre><code>java: cannot find symbol
    symbol:   variable find
    location: variable gsonContent of type java.lang.Object
  </code></pre>
  
  <p>Full classes:
  Main class: <a href="http://pastebin.com/v4LrZm6k" rel="noreferrer">http://pastebin.com/v4LrZm6k</a>
  Radio class: <a href="http://pastebin.com/2BWwb6eD" rel="noreferrer">http://pastebin.com/2BWwb6eD</a></p>