Developer Blog

Tutorials, Guides
& Deep Dives

Practical articles on JSON, REST APIs, developer tools and common errors — written for developers who want clear, fast answers.

JSONKit developer blog — JSON tutorials and guides
Showing 13 of 58 articles
json

jq Cheat Sheet: The Recipes You Actually Use

A practical jq reference — filter, map, select, and reshape JSON from the command line. Field access, iteration, select/map, group_by, raw output, CSV, and NDJSON recipes.

·9mRead
javascript

JSON Import Attributes: import data from './x.json' with { type: 'json' }

ES2025 standardized importing JSON modules with the `with { type: 'json' }` syntax. How it works, why the type attribute is required, dynamic imports, and the security reason behind it.

·8mRead
debugging

Bad Control Character in String Literal in JSON: Cause & Fix

This JSON.parse error means a raw newline, tab, or control character is sitting inside a string. Why it happens, how to escape it correctly, and how to stop it at the source.

·7mRead
standard-schema

Standard Schema: The Spec That Makes Zod, Valibot & ArkType Interchangeable

One tiny interface that Zod, Valibot, and ArkType all implement — so libraries can accept any of them without adapters. What Standard Schema is, why it exists, and how to use it.

·8mRead
performance

Apache Arrow vs JSON: When Row-Based Text Stops Scaling

JSON is rows of text; Arrow is columns of typed memory. Why analytics engines moved to Arrow, what columnar buys you, and how the two formats actually complement each other.

·9mRead
api

JSON-RPC 2.0 Explained: The Protocol Behind MCP and the Blockchain

JSON-RPC 2.0 is a tiny, transport-agnostic remote-call protocol — request, response, error, batch, and notifications. Why it powers MCP, Ethereum, and Language Server Protocol.

·8mRead
dcat

DCAT Explained: The JSON-LD Standard Behind Every Open Data Portal

How data.gov and other open data portals describe datasets with DCAT JSON-LD — Dataset, Distribution, and catalog records — and how to query a portal's catalog API directly.

·7mRead
json

Data Quality Validation: From JSON Schema to Great Expectations

Where a JSON Schema check stops and statistical data quality validation begins — Great Expectations' expectation suites and validation results, both expressed as JSON.

·7mRead
constrained-decoding

How Constrained Decoding Forces Valid JSON: XGrammar, Outlines & GBNF

The mechanism under 'JSON mode': how a JSON Schema becomes a grammar that masks illegal tokens at generation time, why XGrammar beats retries, and where constrained decoding still bites.

·11mRead
json

dbt's manifest.json Explained: The JSON Graph Behind Every dbt Project

dbt compiles your project into manifest.json — a full JSON graph of models, sources, tests, and dependencies — that powers docs sites, lineage tools, and CI checks.

·8mRead
vercel-ai-sdk

Vercel AI SDK Structured Output: Type-Safe JSON with generateObject & Zod

Get type-safe JSON from LLMs with the Vercel AI SDK's generateObject and streamObject — validated against a Zod schema, with automatic retries.

·9mRead
pydantic-ai

Pydantic AI: Type-Safe Structured Output and Agents in Python

Pass a Pydantic BaseModel as output_type and Pydantic AI returns validated, typed JSON from any LLM — retrying automatically when a field is wrong.

·9mRead