Skip to content

Add support for all JQ parameters and result exit code, standard output and errors #88

@kzu

Description

@kzu

Refactor the ExecuteAsync so that it receives a JqParams and returns a JqResult.

JqResult should provide the ExitCode, StandardOutput and StandardError from the process for futher inspection. An implicit conversion to string (returning the StandardOutput) should be provided for source compatibility with previous versions.

JqParams should allow providing typed arguments supported by the underlying jq (see docs at https://jqlang.org/).

The existing overload receiving string json, string query should construct the JqParams and invoke the single implementation and return the StandardOutput for backs compat.

Back this issue
Back this issue

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions