Skip to content

Conversation

@Pezhman-Azizi
Copy link

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Summary

This PR adds Bash scripts using jq to process structured JSON data.

The scripts operate on two input files:

  • person.json (single JSON object)
  • scores.json (array of player objects with nested score arrays)

Each script solves one exercise by extracting, formatting, or aggregating data from JSON.

What’s included

  • Extracting fields from a JSON object
  • Joining array values into a single line
  • Iterating over arrays of objects
  • Accessing first and last array elements
  • Counting array items
  • Summing values across nested arrays
  • Producing exact, unquoted output as required

Notes

  • All scripts are written in Bash
  • jq is used for JSON parsing
  • Output matches exercise requirements exactly

@Pezhman-Azizi Pezhman-Azizi added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Dec 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant