EVL

Table of Contents


Products, services and company names referenced in this document may be either trademarks or registered trademarks of their respective owners.

Copyright © 2017–2020 EVL Tool, s.r.o.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts.

Writejson

(since EVL 1.2)

Write to stdout or <f_out> JSON formatted text where all fields exist (unless ‘-n’ option) and are in order as defined in <evd>.

Writejson

is to be used in EVS job structure definition file. <f_out> is either output file or flow name.

evl writejson

is intended for standalone usage, i.e. to be invoked from command line and and write to standard output.

EVD and EVS are EVL definition files, for details see evl-evd(5) and evl-evs(5).

Synopsis

Writejson
  <f_in> <f_out> (<evd>|-d <inline_evd>)
  [-a|--array-output]
  [-n|--omit-null-fields] [-x|--text-input]

evl writejson
  (<evd>|-d <inline_evd>)
  [-a|--array-output]
  [-n|--omit-null-fields] [-x|--text-input]
  [--verbose]

evl writejson
  ( --help | --usage | --version )

Options

-a, --array-output

using this flag the json output would be an array or records, i.e. ‘[{...},{...},...,{...}]

-d, --data-definition=<inline_evd>

either this option or the file <evd> must be presented. Example: -d ’user_sum long’

-n, --omit-null-fields

by this option, null fields are not presented in the output

-x, --text-input

suppose the input as text, not binary

Standard options:

--help

print this help and exit

--usage

print short usage information and exit

-v, --verbose

print to stderr info/debug messages of the component

--version

print version and exit