public static < T extends InterconnectObject > T fromJson ( String data , Class < T > clazz ) throws IOException { return InterconnectMapper . mapper . readValue ( data , clazz ) ; }
Creates an object from the given JSON data .