JSON Basics
JSON (JavaScript Object Notation) uses two structures: objects {{}} (key-value pairs) and arrays [] (ordered lists). That's it. Everything else is built from these two building blocks.
Reading API Responses
API responses often arrive as minified JSON — one long line of text. Our JSON Formatter makes it readable with proper indentation, syntax highlighting, and collapsible sections.
Common API Patterns
- Pagination: Results come in pages. Look for
next_pageoroffsetfields. - Nested data: Important data is often several levels deep. Navigate with dot notation:
response.data.items[0].name - Error responses: Check for
errororstatusfields. 200 = success, 400 = bad request, 401 = auth required, 429 = rate limited.
Converting API Data
Need API data in a spreadsheet? Our JSON to CSV converter flattens nested JSON into tabular format. For database import, use CSV to SQL to generate INSERT statements.