Interested in getting an Adobe Workfront certification? Don't miss our AMA on June 10th, where our experts will be available to answer any questions you may have about getting certified!
I’m running into cases a lot recently where I need to do a ton of internal text manipulations --- extractions from arrays, text transforms/substrings, etc., but then have to completely re-extract that text out of my variable functions/formulas to pass it through theTransform to JSONmodule, and then re-cast it to a different variable/module after that. As far as I can tell, theTransform to JSONmodule looks and acts almost the same as a text function --- you’re passing a single parameter to the function that lives behind the module and consuming its output.
The advantage of having it as a function is that you can nest it withinthe same variableas other functions without having to break out of the variable module, transform it, and then re-introduce the transformed JSON in another variable or module. It’s much more easily self-contained, all in one variable, and you can much more easily nest it as part of a set of string manipulation functions all at once.
A simple JSON.stringify() and JSON.parse() (maybe as a toJson() and fromJson()?) would be incredibly helpful to simplify a bunch of cases. Love the suggestion.