YAML Ain’t Markup Language (YAML)
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.
ReadArray()Works with YAML arrays. Maps are converted into arrays
ReadArrayWithType()Works with YAML arrays. Maps are converted into arrays. Element type returned in murex should match element type in YAML
ReadIndex()Works against all properties in YAML
ReadMap()Works with YAML maps
ReadNotIndex()Works against all properties in YAML
WriteArray()Works with YAML arrays
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 time
ReadIndex()(type): Data type handler for the index,
ReadMap()(type): Treat data type as a key/value structure and read its contents
ReadNotIndex()(type): Data type handler for the bang-prefixed index,
Unmarshal()(type): Converts a structured file format into structured memory
WriteArray()(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 table
cast: Alters the data type of the previous function without altering it’s output
format: Reformat one data-type into another data-type
jsonl: JSON Lines (primitive)
lang.ArrayTemplate()(template API): Unmarshals a data type into a Go struct and returns the results as an array
lang.ArrayWithTypeTemplate()(template API): Unmarshals a data type into a Go struct and returns the results as an array with data type included
open: Open a file with a preferred handler
runtime: Returns runtime information on the internal state of murex
This site's content is rebuilt automatically from murex's source code after each merge to the
master branch. Downloadable murex binaries are also built with the website.
Last built on Tue Jan 31 12:58:18 UTC 2023 against commit c6bc4d8c6bc4d8f96c958dcb16d78e66d89468aef288078.
Current version is which has been verified against 13941 tests cases.