from url for formats

Parse url-encoded string as a record.

Signature

> from url

Input/output types:

inputoutput
stringrecord

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   │
╰────────┴──────────╯

Tips: Command from url was not included in the official binaries by default, you have to build it with --features=extra flag