Interface JSONAware

  • All Known Implementing Classes:
    JavaScriptValue, JSONArray, JSONObject

    public interface JSONAware
    Beans that support customized output of JSON text shall implement this interface. It is called when encoding an object.
    Author:
    FangYidong<fangyidong@yahoo.com.cn>
    • Method Detail

      • toJSONString

        java.lang.String toJSONString()
        Returns:
        JSON text