Task: Parse and Iterate Over JSON Data
Task: Parse and Iterate Over JSON Data: a task in Terminal-Lego-15k (Harbor dataset). When working with JSON data from APIs or files, a common issue arises when JSON data is returned as a string rather than a parsed object. This means the data needs to be explicitly parsed before it can be…
The task
When working with JSON data from APIs or files, a common issue arises when JSON data is returned as a **string** rather than a parsed object. This means the data needs to be explicitly parsed before it can be iterated over. Your task is to write a script that robustly handles JSON data — whether it arrives as a…
Part of PrimeIntellect/Terminal-Lego-15k.