public static Contract load ( File idlJson ) throws IOException { FileInputStream fis = new FileInputStream ( idlJson ) ; Contract c = load ( fis ) ; fis . close ( ) ; return c ; }
Loads the IDL JSON file parses it and returns a Contract . Uses the JacksonSerializer .