struct OQ::Processor
- OQ::Processor
- Struct
- Value
- Object
Defined in:
oq.crConstructors
Instance Method Summary
-
#args : Array(String)
The args passed to the program.
-
#args=(args : Array(String))
The args passed to the program.
-
#indent : Int32
The number of spaces to use for indentation.
-
#indent=(indent : Int32)
The number of spaces to use for indentation.
- #initialize
-
#input_format : Format
The format that the input data is in.
-
#input_format=(input_format : Format)
The format that the input data is in.
-
#output_format : Format
The format that the output should be transcoded into.
-
#output_format=(output_format : Format)
The format that the output should be transcoded into.
-
#process : Nil
Consume the input, convert the input to JSON if needed, pass the input/args to
jq
, then convert the output if needed. -
#xml_item : String
The name for XML array elements without keys.
-
#xml_item=(xml_item : String)
The name for XML array elements without keys.
-
#xml_prolog : Bool
If the XML prolog should be emitted.
-
#xml_prolog=(xml_prolog : Bool)
If the XML prolog should be emitted.
-
#xml_root : String
The root of the XML document when transcoding to XML.
-
#xml_root=(xml_root : String)
The root of the XML document when transcoding to XML.
Constructor Detail
Instance Method Detail
The format that the output should be transcoded into.
Consume the input, convert the input to JSON if needed, pass the input/args to jq
, then convert the output if needed.