Skip to content

Conversation

@sakirr05
Copy link
Contributor

@sakirr05 sakirr05 commented Jan 26, 2026

Replaces the manual fprintf-based JSON construction in v.db.select with the
gjson (parson) API already used elsewhere in GRASS.

The JSON output is unchanged: same structure, same keys, same value types.
NULL values are emitted as JSON null, numbers remain unquoted.

This is a mechanical refactor to improve maintainability and consistency with
other modules.

@github-actions github-actions bot added vector Related to vector data processing C Related code is in C module labels Jan 26, 2026
@sakirr05 sakirr05 force-pushed the v-db-select-json-parson branch from ae86a7c to d7224e4 Compare January 26, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C Related code is in C module vector Related to vector data processing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant