public void addJSONObject ( JSONObject obj ) { if ( logger . isLoggable ( Level . FINER ) ) logger . entering ( className , "addJSONObject(JSONObject)" ) ; Vector vect = ( Vector ) this . jsonObjects . get ( obj . objectName ) ; if ( vect != null ) { vect . add ( obj ) ; } else { vect = new Vector ( ) ; vect . add ( obj ) ; this . jsonObjects . put ( obj . objectName , vect ) ; } if ( logger . isLoggable ( Level . FINER ) ) logger . exiting ( className , "addJSONObject(JSONObject)" ) ; }
Method to add a JSON child object to this JSON object .