Problem with loadJSONArray example

I didn’t have any issues running this

@kll remove all // in a section: select with mouse, Menu Edit | Comment/Uncomment…

Chrisir

JSONArray values;

void setup() {
  size(400, 400); 

  values = loadJSONArray("data.json");

  for (int i = 0; i < values.size(); i++) {

    JSONObject animal = values.getJSONObject(i); 

    int id = animal.getInt("id");
    String species = animal.getString("species");
    String name = animal.getString("name");

    println(id + ", " + species + ", " + name);
  }
}
//