Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHESPTRUFRDEEN

Elysia Tools

Navigation

Workflow Playbook

JSON Structure Surgery

Operate on JSON structure with a record of every cut — inventory the key paths before touching anything, address nodes precisely with RFC 6901 pointers or flexibly with JSONPath, rename keys by rule instead of by hand, apply RFC 6902 patches as an auditable operation sequence, and flatten to travel with a lossless way back.

Start here

New to this workflow? Follow the steps in order, starting with the first tool below. Already know what you need? Jump straight to the matching step — every tool in this workflow is listed in the comparison table.

First tool: JSON Key Extractor

Hubs

Tools in this workflow, compared

ToolWhat it doesCategory
JSON Key ExtractorExtract all keys from JSON objects with multiple output formats. Perfect for analyzing JSON structure, documentation generation, and understanding complex nested objects.Data Processing
JSON Pointer ToolNavigate and extract values from JSON using JSON Pointer (RFC 6901)Converter
JSON Path ExtractorQuery JSON with JSONPath or JMESPath-style expressions, inspect matched paths, and highlight extracted values in the original documentData Processing
JSON Key RenamerBatch rename JSON object keys with support for patterns, rules, and transformations. Perfect for API response formatting and data normalization.Data Processing

Hubs

Continue with adjacent topic clusters

JSON Patch Tool
Apply JSON Patch operations to JSON data (RFC 6902)
Converter
JSON FlattenerFlatten nested JSON objects into key-value pairs with customizable delimiters and flattening strategiesData Processing
JSON UnflattenerConvert flattened key-value pairs back to nested JSON objects with support for different key formats and data type inferenceData Processing

Know the terrain before cutting

Surgery begins with imaging. A JSON document of any depth hides its structure from casual reading — the same key at two levels means two different things, an array where an object was expected breaks the rule you were about to write — and the key inventory turns that hidden terrain into a list on paper. Every path appears once, surprises surface before rules are written against them, and the inventory becomes the baseline for everything after: regenerate it after each operation and the diff between inventories is the operation's honest receipt.

Two dialects for addressing

JSON addressing comes in two registers, and confusing them is the common beginner tax. The pointer — RFC 6901 — is an exact address: /data/items/0/price names one node, resolves or fails, and is the dialect JSON Patch itself speaks. The path query — JSONPath or JMESPath style — is a search: wildcards, filters, and projections that return sets of nodes and cost nothing to try. The discipline that keeps them straight is simple — explore with paths, operate with pointers — because an operation that names its target precisely is an operation whose result can be predicted.

Patches are the paper trail

Editing a JSON file directly produces a result; applying an RFC 6902 patch produces a result and a record. The patch is an ordered sequence of named operations — add, remove, replace, move — each targeting a pointer, which makes it readable before it runs, reviewable as a diff, replayable on fresh inputs, and archivable as the audit trail of what was done to the data and in what order. Renaming follows the same logic at the key level: a rule that matches a pattern applies everywhere the pattern lives, and nowhere else — no forty-first manual edit discovered missing after the fortieth looked fine.

Flatten to travel, unflatten to return

Flat key-value rows are the lingua franca of spreadsheets, diff tools, and half the data pipeline world; nested JSON is the native tongue of APIs. The flattener bridges out — nesting collapsed into delimiter-joined keys — and the unflattener bridges back. The guarantee that matters is the round trip: flatten, unflatten, deep-compare against the original, and the structure is proven intact. The one precondition is the collision check — a key containing the delimiter will not survive the trip, so the separator is chosen against the key names actually present, not by habit.

Where this workflow stops

This page reshapes structure and proves the reshape — it does not query for values, convert between formats, or certify a shape. Pulling data out of JSON by query is the extraction and transformation workflow; formatting, validating, and merging documents are the utility workflow's health checks; converting JSON to YAML, CSV, or BSON is the conversion workflow; and turning a structure into TypeScript types or a schema is the typed-code and schema-inference workflows' business. Cut here, verify the round trip, and hand the document to the neighbor that owns the next question.

Before you start

  • The JSON parses — surgery on structure assumes the structure exists, so files that fail to parse belong in a formatter or validator first, not on this table.
  • The goal shape is describable — which keys rename to what, which nodes move where, which depth flattens — because a reshape you cannot describe is a reshape you cannot verify.
  • The key names and delimiter are checked for collisions before flattening — a key that already contains the delimiter needs escaping or a different separator, or the round trip will not come back.

Workflow playbook

Reshape any JSON structure and prove nothing was lost

  1. 1

    Inventory the terrain before cutting

    Extract every key path from the document so the structure is visible on paper before any operation, and keep the inventory as the baseline the later acceptance checks regenerate and compare against.

  2. 2

    Address the nodes you will operate on

    Pinpoint exact nodes with RFC 6901 pointers for surgical single targets, and explore set selections with JSONPath or JMESPath-style expressions when the operation concerns a pattern of nodes rather than one address.

  3. 3

    Cut with rules and patches, not by hand

    Rename keys across the document by pattern and rule instead of one-by-one editing, and express additions, removals, replacements, and moves as an RFC 6902 patch sequence that names each target with a pointer.

  4. 4

    Flatten to travel, unflatten to return

    Collapse nesting into delimiter-joined key-value pairs for tools that eat flat rows, and restore the nested structure losslessly on the way back — verifying the round trip with a deep comparison.

Choose the right path

Edit in place, or apply a patch?

A direct edit is right for one-off fixes nobody will revisit, while an RFC 6902 patch is an ordered, named operation sequence that can be reviewed before it runs, replayed on similar inputs, and diffed afterward — choose the patch whenever the change must be accountable.

Pointer or path query?

A JSON Pointer names exactly one node — /data/items/0 — and is the addressing dialect JSON Patch itself uses, while JSONPath and JMESPath-style expressions select sets with wildcards and filters — use the pointer to operate, the path to explore.

Which delimiter for flattening?

The separator decides whether the round trip survives — dots read naturally until a key contains a dot, slashes mirror pointer syntax until a key contains a slash, and a rare custom separator avoids both at the cost of unfamiliar output — pick one your key names cannot contain.

Done when

  • The extracted key inventory matches the actual structure — every nested path appears once, and after any operation the regenerated inventory shows exactly the additions and removals the operation claimed.
  • A patch applies cleanly and its result matches the intended shape; reapplying the same patch to the same input is a no-op recorded as such, and every operation in the sequence names its target with a pointer that resolves.
  • Renaming touches only the declared patterns — keys outside the rules emerge byte-identical — and a rename intended to be reversible round-trips back to the original names.
  • Flatten followed by unflatten reproduces the original JSON with deep equality, key order aside, including arrays, empty objects, and the collision cases you tested deliberately.
Hub

JSON Field Extraction, Transformation, and Provenance

Extract selected JSON fields by path, reshape the payload with JSONata, and record field-level provenance without claiming business-semantic validation.

Hub

JSON Utility, Inspection, and Transformation Tools

Format, inspect, compare, merge, transform, validate, analyze, and watermark JSON payloads for API and data workflows.

Hub

JSON Normalization and Interchange Workflow

Turn a structured source into a checked JSON representation, then export the exact table, configuration, document, API, XML, CSON, EDN, BSON, or UBJSON form required downstream.

Hub

JSON to Typed Code Generators

Generate typed models from JSON or schema evidence for TypeScript, Go, Rust, Kotlin, Java, C#, and Zod validation workflows.

Hub

Infer JSON Schema from Samples and Spreadsheets

Derive a reviewable JSON Schema draft from representative JSON samples or XLSX rows, then inspect types, requiredness, nulls, and outliers before treating it as a contract.

Home
Tools3201
Samples593
Visualizations465
Viewers103
Hubs233
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance644

Calculators, numerics, date logic, statistics, and finance tools

Design & Color297

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

FLAC/WAV Source Screening and Evidence Handoff
Self-Hosted Giveaway Widget Review and Embed Handoff
Stripe Promo Code Batch Review and Import Preflight
Batch Photo Culling Review and Editing Shortlist Handoff
UI Screenshot Structure Review and Development Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact

Data Processing

JSON Key Extractor

Extract all keys from JSON objects with multiple output formats. Perfect for analyzing JSON structure, documentation generation, and understanding complex nested objects.

Converter

JSON Pointer Tool

Navigate and extract values from JSON using JSON Pointer (RFC 6901)

Data Processing

JSON Path Extractor

Query JSON with JSONPath or JMESPath-style expressions, inspect matched paths, and highlight extracted values in the original document

Data Processing

JSON Key Renamer

Batch rename JSON object keys with support for patterns, rules, and transformations. Perfect for API response formatting and data normalization.

Converter

JSON Patch Tool

Apply JSON Patch operations to JSON data (RFC 6902)

Data Processing

JSON Flattener

Flatten nested JSON objects into key-value pairs with customizable delimiters and flattening strategies

Data Processing

JSON Unflattener

Convert flattened key-value pairs back to nested JSON objects with support for different key formats and data type inference