if(descriptor != null){
this.add("\"title\":\""+descriptor.getDisplayName()+"\"," +
"\"description\":\""+descriptor.getShortDescription()+"\","+
"\"readonly\":"+(descriptor.getWriteMethod() == null)+",");
}else if(!isJSONPrimitive(clazz)){
BeanDescriptor beanDescriptor = getBeanDescriptor(clazz);
if(beanDescriptor != null)
this.add("\"title\":\""+beanDescriptor.getDisplayName()+"\"," +
"\"description\":\""+beanDescriptor.getShortDescription()+"\",");
}
if(object instanceof String ||
object instanceof Character ||
object instanceof Locale ||