Keep up with latest product news














Description:This pull request introduces critical improvements to the dc.toon.Converter class, enhancing its ability to accurately handle data types during both JSON-to-TOON and TOON-to-JSON conversion.
Key Changes:1. Full Datatype Support in JSON \rightarrow TOON Conversion:
Adds proper handling for various JSON data types (e.g., Boolean true/false) during conversion into the TOON format.
Before: Boolean values in JSON arrays were incorrectly converted or lost fidelity (e.g., true might become 1).
After: Boolean values are preserved correctly in the TOON output, matching the original data structure.
Example: {"age":true} is now correctly represented in TOON, not as a numeric equivalent.
Datatype Fidelity in TOON \rightarrow JSON Conversion:
The FromTOON method now ensures that data types are accurately restored when converting TOON back into JSON (Dynamic Object).
Fixes:
Boolean strings ("true", "false") in TOON are now converted to JSON Booleans (true, false) instead of numerics (1, 0) or strings.
"null" strings in TOON are now converted to the proper JSON null value instead of an empty string ("").
Example: TOON isactive:true \rightarrow JSON "isactive":true (instead of "isactive":1).
Bug Fix in Quoted String Parsing:
Fixed a syntax error/logic gap in the quoted string check within the parser.
The conditional statement for identifying a quoted string (If $Extract(str,1)="""" && ($Extract(str,*)="""")) was missing necessary parentheses or required refinement to ensure correct execution flow
Special thanks to @Ashok Kumar







Added utils.cls to enable adding ancestors to an existing class.
Here is the related discussion.