Turn a JSON list of accounts into a table (coworking)
A JSON file holds a list of flat account records. Convert it to a table with one row per account.
- Level
- beginner
- Time
- ~5 min
- Task
- Build the query
- Access
- Pro
Checking your access…
About this exercise
What you'll practise
Parse JSON and convert a list of records into a table, keeping JSON numbers and true/false as typed values.
The scenario, sample data, step list, hints and solution open with Pro. Grading checks your query against hidden data as well as the visible sample, so a query that only fits the sample doesn't pass.
Input
- AccountsJson (file)
- JSON document (parse with Json.Document)
Expected output columns
id (text), name (text), plan (text), seats (number), active (logical)