将 Boolean 转为 Int, 其中,false = 0, true = 1.
在反序列化的时候,0 = false,其他情况为true。
since 4.1.7: 在 JSON 序列化下,对 Boolean 的转化会更宽松,支持同时解析 int/boolean/string 类型。