public Object string_to_resource ( Class < ? > responseClass , String response ) { try { Gson gson = new Gson ( ) ; return gson . fromJson ( response , responseClass ) ; } catch ( Exception e ) { System . out . println ( e . getMessage ( ) ) ; } return null ; }
Converts Json string to NetScaler SDX resource .