A performant, and portable jq wrapper to facilitate the consumption and output of formats other than JSON; using jq filters to transform the data.
MIT License
Bot releases are visible (Hide)
ameba
to 1.5.0
by @Blacksmoke16 in https://github.com/Blacksmoke16/oq/pull/118
Published by Blacksmoke16 about 2 years ago
Published by Blacksmoke16 about 2 years ago
~> 1.4
by @Blacksmoke16 in https://github.com/Blacksmoke16/oq/pull/106
null
input by @Blacksmoke16 in https://github.com/Blacksmoke16/oq/pull/107
Published by Blacksmoke16 almost 3 years ago
-L
option by @Blacksmoke16 in https://github.com/Blacksmoke16/oq/pull/104
Published by Blacksmoke16 almost 3 years ago
null
input by @Blacksmoke16 in https://github.com/Blacksmoke16/oq/pull/102
Published by Blacksmoke16 about 3 years ago
--xmlns
option that will tell oq
to parse namespaces (#89)
oq
2.x.--xml-namespace-alias
option to allow normalizing namespaced element names (#89)
--xml-namespace-alias myKey=https://namespace.org
would re-write the prefix of any element within the https://namespace.org
namespace to be myKey
--xmlns
option is required to use this--xml-force-array elementName
option that will force the provided element to be parsed as an array even if it only has one item (#93)jq
input on serialization (#83)Processor#tab
and Processor#xml_prolog
methods, use Processor#tab?
and Processor#xml_prolog?
insteadPublished by Blacksmoke16 over 3 years ago
--arg
/--jsonarg
option to match a file/directory within the current directoryPublished by Blacksmoke16 over 3 years ago
YAML
format, but doesn't support aliases and anchors; allowing for the input data to be streamed. Useful for large "simple" inputsJSON
if more than 1 is provided and the input format is not JSON
jq
behavior, especially with the --slurp
optionIO
s.
oq
to be used within an existing Crystal project in addition to as a binaryoq
snap to access home and USB drivesoq
snaps with the --release
flagPublished by Blacksmoke16 over 4 years ago
YAML
serialization specs less strict
Published by Blacksmoke16 over 4 years ago
in
is now a reserved variable nameFormat of the input data. Supported formats: json, yaml, xml
versus Format of the input data. Supported formats: OQ::Format
0.35.0
OQ::Format.converter
method--link-flags
option when building as libxml2
is now properly linkedPublished by Blacksmoke16 over 4 years ago
ARGV
parsing refactor #58
Published by Blacksmoke16 over 4 years ago
Published by Blacksmoke16 over 4 years ago
#text
value if there is a single text node child!
will have the value wrapped in <![CDATA[]]
. See the specs for an example.Published by Blacksmoke16 over 4 years ago
jq
arguments (#43)Published by Blacksmoke16 almost 5 years ago
Published by Blacksmoke16 about 5 years ago
jq
process failures (#25)libyaml
version to deflake YAML specs (#24)json.kind
to use enum syntax as it is now deprecated (#30)Published by Blacksmoke16 about 5 years ago
-h
and --help
options on the oq
binary (#15)-V
/--version
to output the current jq
and oq
versionsjq
.
oq
to simply act as a "proxy" and not have to load the data into memory.Published by Blacksmoke16 over 5 years ago
Optimizes IO when the input or output format is JSON. Allows oq
to act as a simple proxy to jq
when no conversion is needed.
Published by Blacksmoke16 over 5 years ago
Initial release of oq
.