Flatten JSON leaf paths
List JSON leaves and empty containers with Pointer paths, types and original numeric tokens.
The example value has been entered. Check it immediately or change the value.
Input is processed in the browser. Refreshing returns a sample value.
Instructions and example
No. Childless containers remain leaf entries with their type and {} or [] value. Original numeric tokens are also retained.
The sample value "Kim" at user.name appears at /user/name; "a" in tags appears at /tags/0.
Object-key / and ~ characters are escaped. This lists rows without changing the object or joining keys with dots.
Frequently asked questions
Do empty objects or arrays disappear?
No. Childless containers remain leaf entries with their type and {} or [] value. Original numeric tokens are also retained.
How are keys containing dots or slashes distinguished?
Object-key / and ~ characters are escaped. This lists rows without changing the object or joining keys with dots.
Calculation criteria and reference materials
- RFC 6901 — JSON Pointer
Object-key / and ~ characters are escaped. This lists rows without changing the object or joining keys with dots.
Verification of calculation criteria: · Calculation·verification principles · Report errors