AdaCore / AdaCore/gnatcoll-core

Addition of Aggregate aspect to GNATCOLL.JSON

Open
#96 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ada
Stars
55
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Would you be open to a PR with some refactoring of GNATCOLL.JSON to add the Aggregate aspect to JSON_Array as well as a new JSON_Object type to allow for easier creation of JSON values using syntax similar to JSON_Object'("A" => 1, "B" => JSON_Array'(2, 3.45, "6"))? This would also of course introduce a dependency on Ada 2022.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the GNATCOLL.JSON package and its existing JSON_Array representation. Define the scope for the Ada 2022 Aggregate-based JSON_Array and new JSON_Object syntax, then verify that the proposed examples construct the intended JSON values and that the package remains usable with the new dependency.

Written by the indexing model from the issue text.

Assessment

Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.