hi
no it is the same …the problem is the json file
JSONObject json;
int id;
String species;
String name;
void setup() {
json = loadJSONObject("data.json");
id = json.getInt("id");
species = json.getString("species");
name = json.getString("name");
}
void draw(){
textSize(12);
text(id, 10, 10);
text(species, 10, 20);
text(name, 10, 30);
}