Skip to content

Remove colon after "0 entries:" and "0 keys:" #17

@SpicyLemon

Description

@SpicyLemon

When an array has 0 entries, the info string is array: 0 entries: . Change this to array: 0 entries.

When an object has 0 keys, it's object: 0 keys: []. Change this to object: 0 keys.

Current:

> json_info -r -- {}
object: 0 keys: []
> json_info -r -- []
array: 0 entries: 

Desired:

> json_info -r -- {}
object: 0 keys
> json_info -r -- []
array: 0 entries

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions