public String toJSON(Object object){
  StringBuilder buffer=new StringBuilder(getStringBufferSize());
  append(buffer,object);
  return buffer.toString();
}

public String toJSON ( Object object ) { StringBuilder buffer = new StringBuilder ( getStringBufferSize ( ) ) ; append ( buffer , object ) ; return buffer . toString ( ) ; }
convert object to json
