- JSONObject val = (JSONObject) jp.parse(br);
- final String species = val.get("species").toString();
- final String assembly = val.get("assembly_name").toString();
- final String chromosome = val.get("seq_region_name").toString();
- String strand = val.get("strand").toString();
- int start = Integer.parseInt(val.get("start").toString());
- int end = Integer.parseInt(val.get("end").toString());
+ final String species = json.get("species").toString();
+ final String assembly = json.get("assembly_name").toString();
+ final String chromosome = json.get("seq_region_name").toString();
+ String strand = json.get("strand").toString();
+ int start = Integer.parseInt(json.get("start").toString());
+ int end = Integer.parseInt(json.get("end").toString());