Skip to content

Commit e731798

Browse files
committed
Fix to use the correct type on conversion.
1 parent a0534ef commit e731798

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

samples/JSONToTupleConvert/com.ibm.streamsx.json.sample.jtot/SimpleConversion.spl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public composite SimpleJsonConvert {
2828
//Read and parse the json into a SPL tuple
2929
//Note that the [JSONTuTuple] operator will match the tuple attributes
3030
//to their respective JSON ones. Attribute names have to match exactly
31-
stream<Json> ParsedS = JSONToTuple(JsonS) {
31+
stream<JsonType> ParsedS = JSONToTuple(JsonS) {
3232
}
3333

3434
() as SinkOp = Custom(ParsedS) {

0 commit comments

Comments
 (0)