public final PJsonObject getJSONObject ( final int i ) { JSONObject val = this . array . optJSONObject ( i ) ; final String context = "[" + i + "]" ; if ( val == null ) { throw new ObjectMissingException ( this , context ) ; } return new PJsonObject ( this , val , context ) ; }
Get the element at the index as a json object .