79346663

Date: 2025-01-10 18:22:31
Score: 2
Natty:
Report link

Thank you everyone, all were relevant and helpful! The AddOnDepot's response is spot on. For my incredibly unsavvy code, I ended up using something like:

for (const [dataKey, peopleValues] of Object.entries(jsonParsed.data)) {
  Logger.log(`${dataKey}`);
  Logger.log(peopleValues.name);
  Logger.log(peopleValues.title);
  /* And was able to apply the same concept to access deeper nested values!
  for( const [deeperNestedKeys, deeperData] of Object.entries(peopleValues))
  {
      Logger.log(deeperData.otherValue);
  }
  */
}

My first tip off was actually from an old stackoverflow post that I didn't fully understand at first, so credit also to: https://stackoverflow.com/a/62735012/645379

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user645379