| Interface | Description |
|---|---|
| JSONSchemas |
SPL schema for JSON.
|
| Class | Description |
|---|---|
| JSONStreams |
Utilities for JSON streams.
|
| JSONStreams.DeserializeJSON |
Function to deserialize a String to a JSONObject.
|
| JSONStreams.SerializeJSON |
Function to serialize a JSONObject to a String.
|
| JSONStreams.ToJSON<T extends JSONAble> |
TStream<JSONObject>.
JSONObject with
a single attribute payload
containing the value (for example, an array of JSON objects}.
tuple<rstring jsonString>, representing
serialized JSON.
(see JSON).
This is the convention used by the SPL toolkits
com.ibm.streamsx.json and com.ibm.streamsx.inet.
| To | |||
|---|---|---|---|
| From | Java (TStream<JSONObject>) | SPL ( rstring jsonString) | |
| Java | TStream<JSONObject> | JSONStreams.toSPL() | |
| TStream<? extends JSONAble> | JSONStreams.toJSON() |
||
| TStream<String> | JSONStreams.deserialize() |
||
| SPL | SPLStream (rstring jsonString) |
SPLStream.toJSON() | |
| SPLStream (any other schema) | |||