Skip to content

Only works if output is "pretty" #8

@binaryfire

Description

@binaryfire

Hi guys

Curl responses are usually returned without any linebreaks or spacing. This isn't a problem when using jq via the command line.

However this filter doesn't pick up on values unless the response is "prettified" first. I'm working around this by capturing the response in a variable and running it through jq eg: echo $RESPONSE | jq . This outputs a prettified response which the filter can work with.

This may also be related to #7. Perhaps the parsing methods used in the filter could be improved so they're more robust?

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