I have a data struct being stored in JSON format, converted using the serializeJSON function. The problem I am running into is that strings that can be boolean in CF such as
I believe that your or any similar "string forcing" workaround is the only possible way to prevent such behavior in Adobe CF for now.
BTW, Railo works as expected with your example. Here is the output:
Yes {"STR":"Yes"} Yes
It is also works same way for the numbers with trailing zeros.