public static DiseasePanel load(InputStream diseasePanelInputStream) throws IOException {
        ObjectMapper objectMapper = new ObjectMapper();
        return objectMapper.readValue(diseasePanelInputStream, DiseasePanel.class);
    }
public static DiseasePanel load ( InputStream diseasePanelInputStream ) throws IOException { ObjectMapper objectMapper = new ObjectMapper ( ) ; return objectMapper . readValue ( diseasePanelInputStream , DiseasePanel . class ) ; }
Static method to load and parse a JSON string from an InputStream.
@param diseasePanelInputStream InputStream with the JSON string representing this panel.
@return A DiseasePanel object.
@throws IOException Propagate Jackson IOException.