to toml for formats
Convert record into .toml text.
Signature
> to toml {flags}
Flags
--serialize, -s: Serialize nushell types that cannot be deserialized.
Input/output types:
| input | output |
|---|---|
| record | string |
Examples
Outputs an TOML string representing the contents of this record.
> {foo: 1 bar: 'qwe'} | to toml
foo = 1
bar = "qwe"