public static String filterFieldsJson(Object src, Class<?> clazz, String... args)
{
SimplePropertyPreFilter filter = new SimplePropertyPreFilter(clazz, args);
return JSON.toJSONString(src, filter);
}
public static String filterFieldsJson(Object src, Class<?> clazz, String... args)
{
SimplePropertyPreFilter filter = new SimplePropertyPreFilter(clazz, args);
return JSON.toJSONString(src, filter);
}