本文主要是介绍net.sf.json.JSONObject转为Bean时,Boolean类型转换问题,待解决,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
java bean如下:
import java.util.Date;public class CmFinancingProductRatePeriod {private Long id;private Long productId;private String financeType;private Date startDate;private Date endDate;private Date interestDate;private Integer interestDays;private Boolean isAnnual;public Long getId() {return id;}public void setId(Long id) {this.id = id;}public Long getProductId() {return productId;}public void setProductId(Long productId) {this.productId = productId;}public String getFinanceType() {return financeType;}public void setFinanceType(String financeType) {this.financeType = financeType;}public Date getStartDate() {return startDate;}public void setStartDate(Date startDate) {this.startDate = startDate;}public Date ge
这篇关于net.sf.json.JSONObject转为Bean时,Boolean类型转换问题,待解决的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!