Skip to content

json parser: collapse the parser indirection into a single JsonParser implementation #634

Description

@mihajlo-k

What

JsonParser::FromFile and FromBuffer are not defined alongside the class they belong to. Each parser implementation supplies its own definitions of those symbols, and exactly one gets linked. That is a link-time substitution point whose only purpose was letting a second implementation take over the same symbols.

After #632 is done and only one parser is left, the indirection has no reason to exist and the extra parser class is a second name for something that already has one. Make JsonParser own its implementation directly, and reduce the vaJson Any tree builder to an internal detail with no separate identity in the score::json namespace.

Public behavior and API must not change. This is a structural change only.

Acceptance Criteria (DoD)

JsonParser's methods are defined together with the class they belong to

How

No response

Activity

  1. added theissue type on Sep 29, 2026
  2. changed the title [-]json: collapse the parser indirection into a single JsonParser implementation[/-] [+]json parser: collapse the parser indirection into a single JsonParser implementation[/+] on Oct 8, 2026
  3. self-assigned this
    on Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

comp-jsonRelated to score/json component

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions