| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
JSON.Unflatten
Unflattens that object back to the original json.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| JSON | 13.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "JSON.Unflatten"; JSON ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| JSON | A JSON text or reference. |
Result
Returns JSON or error.
Description
Unflattens that object back to the original json.The keys in the flattened object are normalized json paths. The values are primitive (string, number, boolean, or null), empty object ({}) or empty array ([]).
Examples
Try unflatten:
MBS( "JSON.Unflatten"; "{ \"$['Hello']\": \"World\" }")
Example result:
{ "Hello": "World" }
Example result:
{ "Hello": "World" }
See also
Blog Entries
This function checks for a license.
Created 18th September 2023, last changed 29th September 2025