IBMStreams / streamsx.json

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

Conversion of attribute #61

Closed hardeys closed 4 years ago

hardeys commented 8 years ago

Hi, I am converting a JSON file with "Timestamp": 1462997577.95, attribute. The schema type for this attribute at the output port is rstring. On conversion, the value becomes 1.463085275554E9. I am expecting it to remain same but with type rstring. Is it the correct behaviour of JSONToTuple operator ? How can i get the same value as input put. Attached a sample JSON

sample.txt