Skip to content

Add support to unquoted output #8

@xonixx

Description

@xonixx
$ echo '[{"name":"Bob"}, {"name": "Alice"}]' | jsqry 'name' -u
Bob
Alice
$ echo '[{"name":"Bob"}, {"name": "Alice"}]' | jsqry 'name' -1 -u
Bob

What to do with non-unquote-able objects? Let's just return compacted

$ echo '[{"name":"Bob"}, {"name": "Alice"}, {"name": {"value":"John"}}]' | jsqry 'name' -u
Bob
Alice
{"value":"John"}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions