Skip to content

dash-cli mnbudget show JSON output #583

Description

@crowning-

IMO parsing the output would be way easier if the keys could be addressed via their names as well:

Now:

{
    "reimbursement" : {
        "URL" : "goo.gl/V52wZd",
        ...
    },
    "public-awareness" : {
        "URL" : "goo.gl/V52wZd",
...

Example with Name:

{
    "reimbursement" : {
        "Name" : "reimbursement"
        "URL" : "goo.gl/V52wZd",
        ...
    },
    "public-awareness" : {
        "Name" : "public-awareness"
        "URL" : "goo.gl/V52wZd",
...

Some redundancy, but would reduce bash JSON parsing to one-liners.

Thoughts?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions