Interface JSONStreamAware

All Known Implementing Classes:
JSONArray, JSONObject

public interface JSONStreamAware
JSONStreamAware is an Adaptation of the JSONStreamAware class from the RFC4627 compliant JSON Simple (https://code.google.com/p/json-simple/). Beans that support customized output of JSON text to a writer shall implement this interface. It provides the following Functionality:
  • Write JSON string to out

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
    void writeJSONString​(java.io.Writer outputWriter)
    Write JSON string to out.
  • Method Details

    • writeJSONString

      void writeJSONString​(java.io.Writer outputWriter) throws java.io.IOException
      Write JSON string to out.
      Parameters:
      outputWriter - Output Writer
      Throws:
      java.io.IOException - Thrown if the Inputs are invalid