比如:
public class PojoVO implements Serializable {
private String name;
private double price;
private int status = -1;
private boolean flag;
private Date createTime;
private long count;
private Integer total;
private List list;
private String[] array;
private Object obj;
private Vo vo;
}
public class Vo implements Serializable {
private int id;
private String name;
}
分析PojoVO属性及其类型
期望结果:
{
name:string,
price : double,
status : int,
flag : boolean,
createTime : date,
count : long,
total : integer,
list : list,
array : string[],
vo : {
id:int,
name:string
}
}
2条答案
按热度按时间bjg7j2ky1#
暂不支持json schema,
后续会有此类计划。
uurv41yg2#
你希望得到这个信息用于什么用途?