Open cwhite911 opened 1 year ago
Adding here that the preferred JSON encoding for g.proj
output would be the PROJJSON specification: https://proj.org/en/latest/specifications/projjson.html. It's a JSON encoding of WKT2:2019.
@cwhite911 could this be closed?
Discussed in https://github.com/OSGeo/grass/discussions/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.
YAML
libyaml https://github.com/yaml/libyaml Current release: 1.2.2 (2021-10-01)
LibYAML is a YAML parser and emitter library.
Related Issues and PRs
Candidate Modules
Which modules should have JSON & YAML output support?
General
Raster
3d Raster
Vector
Database
JSON output support without a library