What this does
Paste a flat JSON object whose keys contain paths to rebuild nested objects and arrays. Choose the path separator and whether numeric path segments become array indexes.
Example
Input:
{"user.name":"Ada","user.emails[0]":"a@example.com"}
Nested output:
{
"user": {
"name": "Ada",
"emails": ["a@example.com"]
}
}Limits and behavior
- Conflicting paths, such as a value and a child beneath it, are reported as errors.
- Only a JSON object with string path keys can be unflattened.