<div dir="ltr">Hey All,<div><br></div><div>I seem to be having some very simple issues with the json module. The following code in my config:</div><div><br></div><div>$json(k) := "[1,2]";<br></div><div><div>xlog("L_ERR","Kurtis $json(k)");</div>
</div><div><br></div><div>Is producing the following output:</div><div><br></div><div>Jul 7 23:59:00 NAME /usr/sbin/opensips[6379]: Kurtis2 <null><br></div><div><br></div><div>This looks to be as simple as I can get a json command, but I can't figure out why it's null. Changing the ":=" to a "=" and the "[1,2]" to a "4" works, but that's just a normal variable. Anyone know what's up?</div>
<div><br></div><div>Thanks!</div></div>