Skip to content

IO Streaming + CLI improvements

Compare
Choose a tag to compare
@Blacksmoke16 Blacksmoke16 released this 06 Aug 12:22
· 78 commits to master since this release
9f50edc

Bug Fixes

  • Fix the -h and --help options on the oq binary (#15)
  • Better define how JSON arrays are translated into XML (#17)
  • Correctly null values in XML (#8)

New Features

  • Ability to omit the XML prolog (#14)
  • Add a -V/--version to output the current jq and oq versions
  • Input/Output for all formats (except input YAML due to anchors/aliases, see #20) is now streamed directly to/from jq.
    • Allows oq to simply act as a "proxy" and not have to load the data into memory.
    • Big thanks to @asterite for the initial gist that made this possible.