from url

For formats.

Parse url-encoded string as a record.

Command Type

built-in

Signature

> from url {flags}

Input/output types:

input output
string record

Examples

Convert url encoded string into a record

> 'bread=baguette&cheese=comt%C3%A9&meat=ham&fat=butter' | from url
╭────────┬──────────╮
│ bread  │ baguette │
│ cheese │ comté    │
│ meat   │ ham      │
│ fat    │ butter   │
╰────────┴──────────╯

Ported from nushell/nushell.github.io. Copyright (c) 2021 Nushell Project. MIT License.