Package org.drip.service.representation
Interface JSONAware
- All Known Implementing Classes:
JSONArray
,JSONObject
public interface JSONAware
JSONAware is an Adaptation of the JSONAware class from the RFC4627 compliant JSON Simple
(https://code.google.com/p/json-simple/). Beans that support customized output of JSON text shall
implement this interface. It provides the following Functionality:
- Convert "this" to a JSON String
Module | Computational Core Module |
Library | Computation Support |
Project | Environment, Product/Definition Containers, and Scenario/State Manipulation APIs |
Package | RFC4627 Compliant JSON Message Object |
- Author:
- Fang Yidong, Lakshmi Krishnamurthy
-
Method Summary
Modifier and Type Method Description java.lang.String
toJSONString()
Convert "this" to a JSON String
-
Method Details
-
toJSONString
java.lang.String toJSONString()Convert "this" to a JSON String- Returns:
- JSON text
-