· May 20, 2018

JSON - is this a bug??

Hi All

I'm sharing this ticket just posted to wrc as I believe it is inconsistent behaviour. and other developers may trip over it....

<wrc ticket>

I have found something that appears to me to be inconsistent
Simple example

set x={"theValue":true} write x.theValue
this correctly converts true to 1

However if " (double quotes are placed around it
set x={"theValue":"true"} write x.theValue
it does not convert and displays the string "true"


</wrc ticket>


Discussion (7)0
Log in or sign up to continue