Interface JSONAware

All Known Subinterfaces:
JSONAwareEx
All Known Implementing Classes:
JSONArray, JSONObject

public interface JSONAware
Beans that support customized output of JSON text shall implement this interface.
Author:
FangYidong <[email protected]>
  • Method Summary

    Modifier and Type
    Method
    Description
    Converts this object to JSON string representation.
  • Method Details

    • toJSONString

      String toJSONString()
      Converts this object to JSON string representation.
      Returns:
      JSON text