title: json-simple containerFactory
body: <p>Using the decoding example with the containerFactory, I get the following output:</p>
  
  <pre><code>[{DeviceType=foo, DeviceName=foo1, IPAddress=192.168.1.1, UserName=admin, Password=pw},     {DeviceType=foo, DeviceName=foo2, IPAddress=192.168.1.2, UserName=admin, Password=pw}]
  </code></pre>
  
  <p>These are the entries that are outputted when entry.getValue() is called.</p>
  
  <p>How do I get the data out from these objects?</p>
  
  <p>For example, how would I get the value of DeviceName.</p>
  
  <pre><code>Map obj = (Map)parser.parse(new FileReader("example.yml"),containerFactory);
  
  Iterator iter = obj.entrySet().iterator();
  
  //Iterator iterInner = new Iterator();
  
  while(iter.hasNext()){
      Map.Entry entry = (Map.Entry)iter.next();
      System.out.println(entry.getValue());                                
              }
  
              //System.out.println("==toJSONString()==");
              //System.out.println(JSONValue.toJSONString(json));
  
        } catch (FileNotFoundException e) {
              e.printStackTrace();
        } catch (IOException e) {
              e.printStackTrace();
        } catch(ParseException pe){
              System.out.println(pe);
            }
  </code></pre>
  
  <hr>