... but three out of four calls to json_boolean() are with 0 or 1 as parameter, so only one of them would use the ternary logic, the other three would just use JSON::true or JSON::false without any logic or function calls !