| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
JSON.ToToon
Converts the JSON to TOON.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| JSON | 16.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "JSON.ToToon"; JSON ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| JSON | A JSON text or reference. | "{\"people\":[{\"first\":\"Christian\",\"last\":\"Schmitz\",\"city\":\"Nickenich\"}]}" |
Result
Returns text or error.
Description
Converts the JSON to TOON.The Token-Oriented Object Notation is a human-readable encoding of the JSON data model that minimizes tokens and makes structure easy for models to read. You can use it with LLM instead of JSON.
see also
https://github.com/toon-format/toon
Examples
Creates a simple toon:
MBS("JSON.ToToon"; JSONSetElement ( "{}" ; "hello" ; 123 ; JSONNumber ))
Example result: hello: 123
Example result: hello: 123
Create a more complex toon:
MBS("JSON.ToToon"; "{\"people\":[{\"first\":\"Christian\",\"last\":\"Schmitz\",\"city\":\"Nickenich\"}]}")
Example result:
people[1]{first,last,city}:
Christian,Schmitz,Nickenich
Example result:
people[1]{first,last,city}:
Christian,Schmitz,Nickenich
Release notes
- Version 16.1
- Added JSON.ToToon function.
Blog Entries
This function checks for a license.
Created 30th January 2026, last changed 1st February 2026