How it works
Walk the JSON tree and return leaf entries as [JSON Pointer, value] pairs. Escape ~ as ~0 and / as ~1 in pointer segments.
Input definitions
- JSON
- Plain text; maximum 200,000 characters.
A worked example
- JSON
- {"a":{"b":2}}
Assumptions & limits
Empty arrays/objects remain leaf values; root pointer is the empty string. Maximum 10,000 nodes, depth 50; number precision follows JavaScript.
Sources & review
Maintained by AnsRio. Methods and examples use automated checks; this does not imply independent professional certification.
Method updated 2026-10-17. Content checked against the stated method and examples. Our verification approach.
Common questions
How are slash characters in JSON keys handled?
The output uses JSON Pointer escaping: ~ becomes ~0 and / becomes ~1. Arrays use index segments, and an empty pointer refers to the root value.
Does this tool execute the code or data I paste?
Inputs are treated as data under the stated parser or transformation. Output is displayed as text. Parsing or formatting does not establish that the content is safe to execute elsewhere.
How does the Flatten JSON to pointer entries tool work?
Walk the JSON tree and return leaf entries as [JSON Pointer, value] pairs. Escape ~ as ~0 and / as ~1 in pointer segments.
What are the assumptions and limits of Flatten JSON to pointer entries?
Empty arrays/objects remain leaf values; root pointer is the empty string. Maximum 10,000 nodes, depth 50; number precision follows JavaScript.