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 Sep 20 07:48:14 UTC 2022 against commit 1769d5b1769d5bb0ba4eaf204a5e0f52053b8f877bb7466.
Current version is 2.11.2030 which has been verified against 16798 tests cases.