GSoC 2025: Week 2 Report | Add JSON output to different tools in C for GRASS

1. What did I get done this week?

  • g.version: Implemented JSON output support. (See PR #5863)
  • i.group: Implemented JSON output support. (See PR #5870)
  • r.stats (regression tests): To maintain backward compatibility while adding JSON format, I added strong regression tests. (See PR #5879)
  • r.stats: Added tests for JSON output; this uncovered a bug, which was fixed alongside. (See PR #5892)

2. What do I plan on doing next week?

  • Address review comments on my open PRs.
  • Update JSON output format of v.distance (see issue #5846).
  • Add JSON output support to g.list (see issue #5848).
  • If time permits, fix the JSON output format of g.region (see issue #5828).

3. Am I blocked on anything?

  • No, I am not currently blocked on anything.

4. Additional Information

– Nishant Bansal