blob: 2d63fb983ffab71ea656ec57f09b6110585da1ba [file] [log] [blame]
[
split("\n")[] # Convert lines to array
| capture("(?<key>[^\\s]+)\\s+(?<value>.*)"; "x") # capture {"key": [everything before first whitespace], "value": [remainder of line]}
]
| from_entries # Convert [{"key": "a", "value": "b"}] to map {"a": "b"}