Source: form/Json.js

/**
 * Created by seeker910 on 2017/4/7.
 */
Rsd.define('Rsd.form.Json', {
    extend: 'Rsd.form.Input',
    xtype: 'json',
    inputType: 'text',
    cls:'x-control-json',
    height:'0px',
    width:'0px', 
    /**
     * 
     * @param {*} config 
     */
    constructor: function constructor(config) {
        config = config || {};
        this.apply(config);
    },
    /**
     * 
     * @param {*} value 
     */
    setValue:function setValue(value)
    {
        this.callParent(JSON.stringify(value));
    },
    /**
     * 
     */
    getValue:function getValue()
    {
        var _value = this.callParent();
        return JSON.parse(_value);
    }


});