-
-
Notifications
You must be signed in to change notification settings - Fork 414
Closed
Milestone
Description
Discussed in #3019
Originally posted by cwhite911 June 5, 2023
In an effort add additional output data formats to modules (e.g., r.report, r.info, etc..) we are discussing adding new library dependencies to aid in JSON and YAML encoding.
Please share your feedback on the following candidate dependencies.
JSON
parson
https://github.com/kgabis/parson/
Current release: 1.5.2 (2023)
Parson is a lightweight json library written in C.
- Linux
- Windows
- Mac OSX
YAML
libyaml
https://github.com/yaml/libyaml
Current release: 1.2.2 (2021-10-01)
LibYAML is a YAML parser and emitter library.
- Linux
- Windows
- Mac OSX
Related Issues and PRs
- r.kappa: Add JSON output option #2666
- g.mapsets: Add JSON output #2542
- modules: Add JSON output for db.univar and v.db.univar #2386
- t.rast.list: Add CSV, JSON, YAML outputs #2258
- v.db.select: Add -e flag (escape newlines and backslashes) and -j flag (JSON output) #476
- r.report: JSON output #3033
Candidate Modules
Which modules should have JSON & YAML output support?
General
- g.mapsets g.mapsets: Add JSON output #2542
- g.region (GSoC) g.region: add JSON support #3941
- g.proj (GSoC) g.proj: add JSON support #4104
- g.mapset
- g.list
- g.version
- etc..
Raster
- r.univar (GSoC) r.univar: add JSON support #3783
- r.report r.report: JSON output #3033
- r.info (GSoC) r.info: Add JSON output #3744
- r.kappa r.kappa: Add JSON output option #2666
- r.horizon r.horizon: always include distance output in JSON output #3768
- r.what (GSoc) r.what: Add JSON output #3528
- r.profile (GSoC) r.profile: add JSON support #3872
- r.category (GSoC) r.category: add JSON support #4018
- r.object.geometry (GSoC) r.object.geometry: add json support #4105
- r.stats (GSoC) r.stats: add JSON output #3884
- r.colors.out r.colors.out: Add JSON support #4555
- r.describe (GSoC)
- r.coin
- r.volume
- etc..
3d Raster
- etc..
Vector
- v.info (GSoC) v.info: add JSON support #3755
- v.univar (GSoC) v.univar: add JSON support #3784
- v.db.select v.db.select: Add -e flag (escape newlines and backslashes) and -j flag (JSON output) #476
- v.db.univar modules: Add JSON output for db.univar and v.db.univar #2386
- v.to.db (GSoC) v.to.db: add JSON support #4036
- v.distance (GSoC) v.distance: add JSON support #3942
- v.category (GSoC) v.category: add JSON support #4020
- v.report (GSoC)
- v.colors.out
- etc..
Database
- db.univar modules: Add JSON output for db.univar and v.db.univar #2386
- db.describe (GSoC) db.describe: fix illegal memory access report #4202
- etc..
JSON output support without a library
- v.db.select v.db.select: Add -e flag (escape newlines and backslashes) and -j flag (JSON output) #476
- r.kappa r.kappa: Add JSON output option #2666
- g.mapsets g.mapsets: Add JSON output #2542
- r.geomorphon
- [ ]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done
Status
Done