All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.seejoke.wechat.entity.WxVideoIntroduction Maven / Gradle / Ivy

package com.seejoke.wechat.entity;

import org.codehaus.jackson.JsonGenerationException;
import org.codehaus.jackson.map.JsonMappingException;
import org.codehaus.jackson.map.ObjectMapper;

import java.io.IOException;

public class WxVideoIntroduction {
	private String title;
	private String introduction;
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getIntroduction() {
		return introduction;
	}
	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}
	
	public String toJson() throws JsonGenerationException, JsonMappingException, IOException{
		ObjectMapper mapper = new ObjectMapper();
		return mapper.writeValueAsString(this);
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy