from toml
for formats> from toml {flags}
input | output |
---|---|
string | record |
Converts toml formatted string to record
>'a = 1'|from toml
╭───┬───╮
│a│1│
╰───┴───╯
Converts toml formatted string to record
>'a = 1
b = [1, 2]'|from toml
╭───┬───────────╮
│a│1│
││╭───┬───╮│
│b││0│1││
│││1│2││
││╰───┴───╯│
╰───┴───────────╯
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/from_toml.html