IBMStreams / streamsx.json

Toolkit for working with JSON in SPL applications.
http://ibmstreams.github.io/streamsx.json/
Other
3 stars 19 forks source link

JSONToTuple generates empty tuples #27

Closed AdiBg closed 9 years ago

AdiBg commented 9 years ago

Why? also tried with jsonString as the stream attribute.

rohitsw commented 9 years ago

Please provide details. What input is being provided to the operator?

AdiBg commented 9 years ago

(stream inputStream) as JMSSource_1 = JMSSource() { param access : "vcAccess" ; connection : "vcConn" ; }

    (stream<vcin X> JSONToTuple_2_out0) as JSONToTuple_2 =
        JSONToTuple(inputStream)
    {
        param
            jsonStringAttribute:"X";
    }
AdiBg commented 9 years ago

ok got it. he wanted an extended schema.