Skip to content

Support --json output with --float flag #11

@19bk

Description

@19bk

When both --float and --json are passed, the --json flag is silently ignored and only table output is shown.

Expected: JSON output with float-decoded values.
Spotted during review of #6.

Should be a small change in the float output block to check for json_output and return a JSON array of float objects instead of a Rich table.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions