# Loading JSON, Flat and Nested

pd.read_json loads a JSON list of records into a DataFrame, lines=True reads JSON Lines with one record on each line, and pd.json_normalize with record_path and meta turns a nested list, such as each vendor's reviews, into one row for each item.

![Cheat sheet: Loading JSON, Flat and Nested](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/07a6dae7a431498c8981df13d47d4498.webp)

- Category: Data Analysis
- Level: Apprentice
- Tags: JSON, JSON Lines, json Module, json_normalize(), python, read_json()
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/pandas-read-json-cheat-sheet
