AutoHotkey-JSON
AutoHotkey-JSON copied to clipboard
fix error when float/double numbers are passed
hlConfig := {showInfo : chrome.Jxon_True() ,contentColor : {r:0, g:100, b:0, a:0.5}} <-- float parameter for alpha channel
when sending information as shown above Jxon_Dump passes "0.5" instead of unquoted value. That's because float/doubles in autohotkey have a string buffer attached to them, and tricks your function in to not sending the parameter as is.