I have a REST web service that receives an object as input. The object has a Boolean variable inside, but sometimes instead of receiving true or false I get 0 or 1 and the service goes into error. How can I avoid this?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…