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

com.ruijc.fastjson.JSONP Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ruijc.fastjson;

/**
 * Fastjson的JSONP消息对象
 *
 * @author Storezhang
 */
public class JSONP {

    private String function;//JSONP回调方法
    private Object json;//真正的Json对象

    public JSONP(String function, Object json) {
        this.function = function;
        this.json = json;
    }

    public String getFunction() {
        return function;
    }

    public void setFunction(String function) {
        this.function = function;
    }

    public Object getJson() {
        return json;
    }

    public void setJson(Object json) {
        this.json = json;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy