yaml
About 1 min
yaml
YAML Ain't Markup Language (YAML)
Description
YAML support within Murex is pretty mature however it is not considered a primitive. Which means, while it is a recommended builtin which you should expect in most deployments of Murex, it's still an optional package and thus may not be present in some edge cases. This is because it relies on external source packages for the shell to compile.
Default Associations
- Extension:
yaml
- Extension:
yml
- MIME:
application/x-yaml
- MIME:
application/yaml
- MIME:
text/x-yaml
- MIME:
text/yaml
Supported Hooks
Marshal()
SupportedReadArray()
Works with YAML arrays. Maps are converted into arraysReadArrayWithType()
Works with YAML arrays. Maps are converted into arrays. Element type returned in Murex should match element type in YAMLReadIndex()
Works against all properties in YAMLReadMap()
Works with YAML mapsReadNotIndex()
Works against all properties in YAMLUnmarshal()
SupportedWriteArray()
Works with YAML arrays
See Also
Marshal()
(type): Converts structured memory into a structured file format (eg for stdio)ReadArray()
(type): Read from a data type one array element at a timeReadIndex()
(type): Data type handler for the index,[
, builtinReadMap()
(type): Treat data type as a key/value structure and read its contentsReadNotIndex()
(type): Data type handler for the bang-prefixed index,![
, builtinUnmarshal()
(type): Converts a structured file format into structured memoryWriteArray()
(type): Write a data type, one array element at a time[[
(element): Outputs an element from a nested structure[
(index): Outputs an element from an array, map or tablecast
: Alters the data type of the previous function without altering it's outputformat
: Reformat one data-type into another data-typejson
: JavaScript Object Notation (JSON)jsonl
: JSON Lineslang.ArrayTemplate()
(template API): Unmarshals a data type into a Go struct and returns the results as an arraylang.ArrayWithTypeTemplate()
(template API): Unmarshals a data type into a Go struct and returns the results as an array with data type includedopen
: Open a file with a preferred handlerruntime
: Returns runtime information on the internal state of Murex