Flatten nested JSON values or expand flattened paths into a structure.
ReadyRuns in your browser
INPUT & CONTROLS
Prepare your input
Local processing
Runs locally in your browser. Input is not sent to DevEngineerLab.
Converts nested JSON to dotted paths or reverses them. Arrays flatten with numeric indexes and unflatten back to arrays when the next path segment is numeric. Empty objects and arrays remain leaf values.
Result
Your result starts here
Review the input and selected options, then use the primary action. Output and any validation messages will appear here.
METHOD & CONTEXT
Understand the result before using it.
How it works
Flattens JSON into dotted paths or expands flattened paths into a nested structure according to the selected mode.
Interpretation
Read the result summary first, then inspect the detailed output and any errors or warnings. The result describes the supplied input and selected options. Changing input requires another run.
Assumptions & warnings
Review the selected mode and path representation. Numeric indexes are used for arrays; empty containers remain leaf values.
Inputs are processed in your browser. Follow the input format and size limits shown next to the controls.
Try an example
Select Load example in the input panel, review the selected mode, then use its displayed primary action. Inspect the result before replacing the sample with your own input.