public class ContextFilter implements ActionFilter {
@Override
public View match(ActionContext actionContext) {
UTF8JsonView utf8JsonView=new UTF8JsonView();
return utf8JsonView;
}
}
UTF8JsonView utf8JsonView=new UTF8JsonView(); 想返回一个JSON字符串