private static void parseSsextensions ( JSONObject modelJSON , Diagram current ) throws JSONException { if ( modelJSON . has ( "ssextensions" ) ) { JSONArray array = modelJSON . getJSONArray ( "ssextensions" ) ; for ( int i = 0 ; i < array . length ( ) ; i ++ ) { current . addSsextension ( array . getString ( i ) ) ; } } }
adds all json extension to an diagram