xml bool not working properly
Created by: sarim
In xml, bool types are encoded as string. If i set go type to bool
. It doesn't work, always returns false. But if i set go type to string
, it returns yes
as string. But i want it to decode to bool type. Also it seems like plist.Unmarshal
doesn't call the struct's UnmarshalPlist
method either. I could use a auxiliary struct to fix this inside UnmarshalPlist method.