cast
Alters the data type of the previous function without altering it's output
cast
works a little like when you case variables in lower level languages where the value of the variable is unchanged. In murex the contents in the pipeline are preserved however the reported data type is altered.
<stdin> -> cast data-type -> <stdout>
» out: {"Array":[1,2,3],"Map":{"String": "Foobar","Number":123.456}} -> cast json
{"Array":[1,2,3],"Map":{"String": "Foobar","Number":123.456}}
If you want to reformat the STDIN into the new data type then use format
instead.
format
: Reformat one data-type into another data-typeout
: Print a string to the STDOUT with a trailing new line charactertout
: Print a string to the STDOUT and set it's data-typeThis 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 Thu May 26 22:49:43 UTC 2022 against commit 59e27bb59e27bb1013043fc4a940cf9a2767c63f31dad2c.
Current version is 2.8.2100 which has been verified against 15889 tests cases.