Developer guides

Learn JSON & developer tools

Practical guides on JSON, YAML, Base64, timestamps, and everything developers search for daily.

Command Line

jq Cheat Sheet: 30 Command-Line JSON Examples

Filter, select, map, sort, and reshape JSON from the terminal — 30+ copy-paste jq patterns for curl, kubectl, AWS, and Docker.

9 min readCheat Sheet
Read article →
JSON Querying

JSONPath Tutorial: Query Nested JSON

Query nested JSON without loops — $, wildcards, recursive descent, filter expressions, and JSONPath vs jq vs JMESPath.

8 min readTutorial
Read article →
Converters

How to Convert JSON to Excel (XLSX)

Three easy ways — online converter, JavaScript with SheetJS, and Python with pandas. Handle nested objects and keep data types.

7 min readHow-To
Read article →
Command Line

How to Parse JSON in Bash

Parse JSON in shell scripts with jq — extract fields, loop arrays, handle API responses, and assign values to variables.

7 min readHow-To
Read article →
Databases

MongoDB and JSON: BSON, Export & Import

How MongoDB uses BSON vs JSON, exporting with mongoexport, importing, and handling ObjectId and date types correctly.

7 min readGuide
Read article →
JSON Errors

How to Fix "Unexpected Token" in JSON

The 7 most common causes of the Unexpected token error — trailing commas, single quotes, HTML responses — with instant fixes.

8 min readDebugging
Read article →
JSON Errors

Fix "Unexpected End of JSON Input"

This error means your JSON is incomplete or truncated. Learn every cause — empty responses, missing braces, cut-off API data — and the fix.

7 min readDebugging
Read article →
JSON Basics

How to Open a JSON File on Any Device

Open and read JSON files on Windows, Mac, browser, or VS Code — the easiest methods, no coding required.

6 min readHow-To
Read article →
JSON Basics

How to Escape Special Characters in JSON

Quotes, backslashes, newlines, tabs, and Unicode — the correct escape sequence for every special character in JSON.

6 min readReference
Read article →
TypeScript

How to Convert JSON to a TypeScript Interface

Type your API responses correctly — manually and automatically. Handle nested objects, arrays, optional and nullable fields.

7 min readHow-To
Read article →
Python

How to Read JSON into a Pandas DataFrame

read_json, json_normalize for nested data, the orient parameter, and fixing the "Expected object or value" error.

7 min readHow-To
Read article →
JSON Basics

Can JSON Have Comments?

Why JSON forbids comments and the practical workarounds — JSONC, JSON5, comment fields, and when to switch to YAML.

5 min readReference
Read article →
JavaScript

JSON.stringify Pretty Print in JavaScript

Format JSON with the indent parameter, the replacer function, sorting keys, and handling circular references.

6 min readHow-To
Read article →
JSON

How to Format JSON — The Complete Guide

Learn how to format, beautify, and validate JSON using online tools, VS Code, and code. Includes common errors and fixes.

8 min readJSON Formatting
Read article →
JSON vs YAML

JSON vs YAML: Which Should You Use in 2026?

Side-by-side comparison of JSON and YAML — syntax, use cases, pros and cons. Know when to use each format.

7 min readData Formats
Read article →
Base64

What is Base64 Encoding? A Developer's Guide

Understand Base64 encoding — how it works, when to use it, common use cases, and how to encode/decode in JavaScript and Python.

6 min readEncoding
Read article →
Timestamps

Unix Timestamp Explained: Everything Developers Need to Know

What is a Unix timestamp, how to get the current timestamp in any language, and how to convert it to a date.

6 min readTime & Dates
Read article →
JSON → CSV

How to Convert JSON to CSV — 3 Methods Explained

Convert JSON to CSV using an online tool, JavaScript, and Python. With code examples for each method.

7 min readData Conversion
Read article →
Best Practices

JSON Best Practices for REST APIs in 2026

10 rules for writing clean, consistent JSON in REST APIs — naming conventions, error formats, pagination, and versioning.

9 min readAPIs
Read article →
URL Encoding

URL Encoding Explained: Why %20 Means Space

What URL encoding is, why it exists, what characters get encoded, and how to encode URLs in JavaScript, Python, and PHP.

6 min readWeb Development
Read article →
CSS Colors

HEX vs RGB vs HSL: Which Color Format Should You Use?

Compare HEX, RGB, and HSL color formats in CSS — when to use each, how to convert between them, and practical examples.

6 min readCSS
Read article →
JSON

How to Validate JSON: Tools, Methods and Common Errors

Fix JSON syntax errors fast. Learn the most common JSON validation errors, how to spot them, and how to validate JSON in code.

7 min readDebugging
Read article →
YAML

YAML Tutorial for Beginners: Syntax, Examples & Tips

Learn YAML syntax from scratch — scalars, lists, maps, anchors, and multi-line strings. With real Kubernetes and Docker examples.

10 min readYAML
Read article →
Debugging

How to Fix JSON Parse Errors — Complete Troubleshooting Guide

Every common JSON SyntaxError explained with the exact cause and fix. Covers JavaScript, Python, and online validators.

8 min readError Fixing
Read article →
JSON

How to Flatten Nested JSON — JavaScript, Python & Online Methods

Convert deeply nested JSON into flat key-value pairs. With JavaScript, Python, and pandas code examples.

7 min readData Transformation
Read article →
Base64

How to Base64 Encode and Decode Images Online

Embed images as data URIs in CSS and HTML. Convert images to Base64 in JavaScript and Python.

6 min readImages & Encoding
Read article →
Python

How to Convert CSV to JSON in Python — 3 Methods

Convert CSV to JSON using csv.DictReader, pandas, and auto type detection. With full code examples.

7 min readData Conversion
Read article →
Data Formats

JSON vs XML: Which Is Better and When to Use Each

A clear comparison of JSON and XML — where each wins, and how to convert between them in code.

7 min readJSON vs XML
Read article →
JavaScript

Working with Dates and Timestamps in JavaScript

Master JavaScript Date objects, formatting, timezones, date arithmetic, and common gotchas.

9 min readDates & Times
Read article →
Python

How to Convert YAML to JSON in Python

Convert YAML to JSON using PyYAML. Covers files, strings, CLI, multi-document YAML, and date handling.

6 min readYAML & Python
Read article →
JavaScript

JSON.stringify() and JSON.parse() — The Complete Guide

Master replacer functions, revivers, handling circular references, and what stringify silently ignores.

8 min readJavaScript
Read article →
CSS Colors

HEX Color Codes Explained — How to Read and Write CSS Colors

How HEX colors work, reading 6-digit and 3-digit codes, 8-digit alpha, and converting to RGB manually.

5 min readWeb Design
Read article →
JSON

JSON Schema: Validate Your JSON Structure Like a Pro

Use JSON Schema to validate structure and types. Covers required fields, patterns, enums, AJV, and Python.

8 min readJSON Schema
Read article →
JavaScript

How to Fetch JSON from an API in JavaScript

Fetch API, async/await, error handling, timeout, and React hooks for JSON data fetching.

8 min readAPI & Fetch
Read article →
Python

Python JSON Tutorial — Parse, Create, and Convert

json.loads(), json.dumps(), file I/O, date handling, and requests API integration.

9 min readPython & JSON
Read article →
JSON

JSON Array of Objects — How to Create, Access & Loop

Create, access, filter, sort, and transform JSON arrays in JavaScript and Python.

7 min readJavaScript
Read article →
APIs

REST API JSON: How to Design and Consume JSON APIs

Request/response format, HTTP methods, status codes, pagination, and API client patterns.

8 min readREST & JSON
Read article →
JSON

How to Minify JSON — Online, JavaScript, Python & CLI

Reduce JSON file size using online tools, JSON.stringify(), Python separators, and jq.

5 min readOptimization
Read article →
Authentication

JWT Tutorial — JSON Web Tokens Explained

How JWTs work, signing with HS256/RS256, standard claims, and critical security mistakes.

9 min readJWT & Security
Read article →
Data Formats

XML vs JSON: Full Comparison for Developers in 2026

Syntax, performance, use cases, and when XML still wins over JSON.

6 min readXML vs JSON
Read article →
JSON

JSON Minify vs Format — When to Use Each

When to minify vs beautify JSON, with JavaScript and Python code examples.

5 min readJSON Tips
Read article →
JSON Schema

JSON Schema Validation — Complete Practical Guide

Required fields, string patterns, number ranges, conditional validation, and AJV integration.

8 min readValidation
Read article →