generate json data ajax interface created