Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] Add JSON output to r.what #3518

Closed
petrasovaa opened this issue Mar 22, 2024 · 2 comments · Fixed by #3528
Closed

[Feat] Add JSON output to r.what #3518

petrasovaa opened this issue Mar 22, 2024 · 2 comments · Fixed by #3528
Labels
enhancement New feature or request gsoc Reserved for Google Summer of Code student(s)
Milestone

Comments

@petrasovaa
Copy link
Contributor

Add JSON output for easy parsing of r.what output.

Describe the solution you'd like
Adding option format, it would be something like format=plain for the current output format and format=json for the JSON output. There is a newly added parson library to GRASS (#3028), so it should be used here.

See also discussion in #3019.

A test should be included.

@petrasovaa petrasovaa added enhancement New feature or request gsoc Reserved for Google Summer of Code student(s) labels Mar 22, 2024
@kritibirda26
Copy link
Contributor

Thanks for opening the issue, I'll start looking into this,

@kritibirda26
Copy link
Contributor

Hi! I had some trouble working with parson because there is no other use in the codebase so far but I was eventually able to figure it out. Hence, I have opened a PR above to add the JSON support. Kindly review whenever possible.

@neteler neteler added this to the 8.4.0 milestone Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gsoc Reserved for Google Summer of Code student(s)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants