Status/Resolution/Reason: Closed/Withdrawn/Duplicate
Reporter/Name(from Bugbase): JeanMarc Callebaut / JeanMarc Callebaut (jmcmto99)
Created: 01/22/2014
Versions: 10.0
Failure Type: Data Corruption
Found In Build/Fixed In Build: Final /
Priority/Frequency: Major / All users will encounter
Locale/System: English / Win All
Vote Count: 0
Duplicate ID: CF-3337394
Problem Description:
Issue was already raised in Bug #3337394
Steps to Reproduce:
<cfset testStruct = {"test" = "NO"}>
<cfdump var="#testStruct#"> <!--- the test key is "NO" --->
<cfset json = SerializeJSON(testStruct)>
<cfdump var="#json#"> <!--- Test is now false --->
Actual Result:
{"test":false}
Expected Result:
{"test":"NO"}
Any Workarounds:
None, except adding an extra space at the end of the string so CF is considering it as a string and not as true/false
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3697516
External Customer Info:
External Company:
External Customer Name: jmcmto99
External Customer Email:
External Test Config: My Hardware and Environment details:
Coldfusion 10 Updates 13
Attachments:
Comments: