Skip to main content
🇪🇸 Español 🇧🇷 Português 🇩🇪 Deutsch 🇫🇷 Français 🇯🇵 日本語 🇮🇹 Italiano 🇮🇩 Bahasa Indonesia 🇹🇷 Türkçe 🇰🇷 한국어 🇵🇱 Polski 🇳🇱 Nederlands
Image Converter Document Converter Video Converter Audio Converter
Tools Formats (201) Guides Pricing · ⚡ 4,99 € API
Log In
Guide · json → tsv

JSON Format: The Complete Guide to JavaScript Object Notation

✓ ISO/IEC Verified · 7 min · · By Pablo Cirre
Instant In-Browser Tool
Convert JSON → TSV
Convert →
Guide (9) +
Advertisement

Frequently Asked Questions

JSON is stricter and more machine-oriented: double-quoted strings only, no comments, no trailing commas, limited data types. YAML is a superset of JSON (valid JSON is valid YAML) that adds: comments, multi-line strings, unquoted strings, more data types (dates, binary), and a more readable indentation-based syntax. JSON is preferred for API responses and machine-generated data. YAML is preferred for human-written configuration files (Docker Compose, Kubernetes, GitHub Actions, Ansible). YAML's flexibility also makes it error-prone — indentation mistakes are common bugs.

Send <strong>PDF</strong> when the document is final and the layout must be preserved exactly (contracts, invoices, certificates). Send <strong>DOCX</strong> when reviewers need to edit, comment, or track changes. Many teams send both: PDF as the canonical version + DOCX for editable feedback. PDF/A is the right pick for legal archival (ISO 19005).

No — standard JSON (RFC 8259 / ECMA-404) does not support comments. Douglas Crockford intentionally excluded them. Workarounds: (1) Use a "_comment" key: `{"_comment": "This is a note", "data": ...}` — ignore it in code. (2) Use JSONC (JSON with Comments) — supported by VS Code config files and TypeScript configs; strip comments with `strip-json-comments` before parsing. (3) Use JSON5 which fully supports `//` and `/* */` comments. (4) Use YAML instead for human-written config files.

Round-tripping between similar formats (DOCX ↔ ODT, DOCX → PDF) is generally safe. Round-tripping with format-specific features (Word macros, complex tables, footnotes) often loses fidelity. Embedded fonts survive only if both source and target support font embedding (PDF yes, DOCX yes, plain HTML no). Always preview the result before deleting the original.

JSON to CSV works best when your JSON is an array of flat objects with consistent keys. Python: use `json.load()` then `csv.DictWriter`. Command line: `mlr --ijson --ocsv cat data.json > data.csv` (Miller tool), or `jq -r '.[] | [.id,.name,.email] | @csv' data.json`. Challenges: nested JSON objects must be flattened first (pandas `json_normalize()` helps). Arrays within objects need a strategy (join as string, or create multiple CSV rows). jq's `@csv` output format handles quoting automatically.

If the PDF contains real text (not scanned images), <code>pdftotext</code> from poppler-utils or <a href="/convert/pdf-to-txt">PDF to TXT</a> works in seconds. If the PDF is a scanned image, you need OCR — Tesseract is the open-source standard. KaijuConverter's PDF tools auto-detect text-vs-image PDFs and route accordingly.

NDJSON (Newline Delimited JSON) stores one JSON object per line with no enclosing array. It is ideal for: log streams (one event per line), large dataset exports (no need to hold entire file in memory), streaming APIs, Elasticsearch bulk indexing, and ETL pipelines. Standard JSON arrays require loading the entire document into memory to parse; NDJSON can be processed one line at a time. Read NDJSON in Python: `for line in file: record = json.loads(line)`. Write: `file.write(json.dumps(record) + "\n")`.

Light edits (annotations, signatures, form fields) are fine in any PDF reader. Structural edits (changing paragraphs, replacing images) are awkward — PDF is a presentation format, not an editing format. The robust workflow is: keep the source DOCX/MD/HTML as the master, regenerate the PDF when changes are needed. Tools that "edit PDFs" reverse-engineer the layout and frequently break it.

Professional Workstation Solution
Unlimited Batch Jobs Zero Upload Wait Times Direct Disk-to-Disk I/O

Need to Convert Gigabyte Archives or Mass Folders?

KaijuConverter delivers ultra-fast in-memory conversions for everyday tasks. For multi-gigabyte production workloads without browser bandwidth bottlenecks, explore high-throughput desktop suites.

Zero cloud transfer • Native hardware performance
24-Hour Fast Pass (€4.99 one-time) Up to 1 GB · No subscription

One-time payment with zero recurring commitment: convert files up to 1 GB, OCR, PDF/A, and .ZIP batches for 24 hours.

Instant Stripe Checkout →
7-Day Project Pass (€9.99 one-time) 7 Days · 2 GB · Ad-Free

Full 7 days of unlimited conversions, up to 2 GB per file, 100% ad-free with zero subscription.

Instant Stripe Checkout →
Kaiju Cloud Business Annual (€99/yr) Up to 2 GB + B2B Invoice

High-throughput enterprise pipeline for files up to 2,048 MB, 50-file batches, ISO PDF/A, and priority processing.

Instant Stripe Checkout →
ImageMagick CLI / XnConvert Free • Mass Batch

Convert thousands of camera RAW files (CR3, NEF, ARW) to WebP, AVIF, or TIFF in one pass.

Affinity Photo / Adobe Lightroom Photo Pro

GPU-accelerated RAW development with end-to-end 16-bit ICC color profile management.

Advertisement
We use cookies and similar technologies to personalise content and ads, and to analyse traffic. Learn more about cookies.