Skip to content

Arrays not rendered via --additional-value #131

@pancsta

Description

@pancsta

The only way to see arrays is to nest them inside an objects. It would be very useful to be able to see them directly, thx.

{"level":"INFO", "timestamp":"2025-09-25T13:06:25.072Z", "array":["default"], "obj": {"a": 1}, "obj_arr": {"a": ["default"]}}
$ fblog tmp.jsonl -a array -a obj -a obj_arr
2025-09-25T13:06:25  INFO: 
                  obj > a: 1
           obj_arr > a[0]: "default"

$ fblog tmp.jsonl -a array -a obj -a obj_arr -d
2025-09-25T13:06:25  INFO: 
                 array[0]: "default"
                    level: INFO
                  obj > a: 1
           obj_arr > a[0]: "default"
                timestamp: 2025-09-25T13:06:25.072Z

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