In my Java program, I am trying to parse data that I get from Strava.com’s API. One of the JSON payloads, I receive from there looks as follows: Basically, four of these entries (altitude, velocity_smooth, distance and time) have the same structure (their data field is an array of doubles (or ints that can be parsed as doubles)), but the