Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

1038 stdout json to use ndjson format #1393

Merged
merged 3 commits into from
Oct 2, 2019

Conversation

cuthullu
Copy link
Contributor

@cuthullu cuthullu commented Oct 2, 2019

Description

Changes stdout json to be ndjson format, and adds a --ndjson flag so it can be turned off or on for stdout and file out respectively

Changes

  • added new command line argument
  • change the sequenceWriter not to wrap output in an array, and use a new line delimiter for root elements
  • moved the creation of JsonDataSetWriter to the JsonDataSetWriterFactory
  • added high-ish level tests for the JsonDataSetWriter

Issue

Resolves #1038

@cuthullu cuthullu force-pushed the 1038-stdout-json-to-use-ndjson-format branch from 787517f to 8acfd17 Compare October 2, 2019 09:58
@cuthullu cuthullu merged commit 684426e into master Oct 2, 2019
@hashbyhayter hashbyhayter deleted the 1038-stdout-json-to-use-ndjson-format branch October 2, 2019 15:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stdout JSON output should allow NDJSON format to be produced
3 participants