enum OQ::Format
Overview
The support formats that can be converted to/from.
Defined in:
oq.crEnum Members
-
JSON =
0
-
The JSON format.
-
SimpleYAML =
1
-
Same as
YAML
, but does not support anchors or aliases; thus allowing for the input conversion to be streamed, reducing the memory usage for large inputs. -
XML =
2
-
The XML format.
-
YAML =
3
-
The YAML format.
Class Method Summary
-
.to_s(io : IO) : Nil
Returns the list of supported formats.
Instance Method Summary
-
#converter(processor : OQ::Processor)
Maps a given format to its converter.
- #json?
- #simple_yaml?
- #xml?
- #yaml?