[GRASS-git] [OSGeo/grass] 55b2a2: lib: Add a standard parser option for JSON formatt...

Kriti Birda noreply at github.com
Fri May 24 14:45:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 55b2a2bcccd3fd295e4f20c3e49f6984d61982d3
      https://github.com/OSGeo/grass/commit/55b2a2bcccd3fd295e4f20c3e49f6984d61982d3
  Author: Kriti Birda <164247895+kritibirda26 at users.noreply.github.com>
  Date:   2024-05-24 (Fri, 24 May 2024)

  Changed paths:
    M general/g.mapsets/main.c
    M imagery/i.signatures/main.c
    M include/grass/gis.h
    M lib/gis/parser_standard_options.c
    M raster/r.horizon/main.c
    M raster/r.kappa/main.c
    M raster/r.what/main.c
    M vector/v.db.select/main.c

  Log Message:
  -----------
  lib: Add a standard parser option for JSON formatting (#3704)

As a part of https://github.com/OSGeo/grass/discussions/3019, JSON format support will be added
to multiple modules. By default, modules output in existing plain format. If the format=json option
is provided, modules will output in JSON format instead. To avoid duplication of code across several
modules, define a standard parser option.


---------

Co-authored-by: Nicklas Larsson <n_larsson at yahoo.com>
Co-authored-by: Anna Petrasova <kratochanna at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list