com.ibm.streamsx.topology.json

Class JSONStreams.DeserializeJSON

  • java.lang.Object
    • com.ibm.streamsx.topology.json.JSONStreams.DeserializeJSON
  • All Implemented Interfaces:
    Function<java.lang.String,com.ibm.json.java.JSONObject>, java.io.Serializable
    Enclosing class:
    JSONStreams


    public static final class JSONStreams.DeserializeJSON
    extends java.lang.Object
    implements Function<java.lang.String,com.ibm.json.java.JSONObject>
    Function to deserialize a String to a JSONObject. If the serialized JSON is an array, then a JSON object is created, with a single key payload containing the deserialized value.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      DeserializeJSON() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      com.ibm.json.java.JSONObject apply(java.lang.String tuple) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DeserializeJSON

        public DeserializeJSON()
    • Method Detail

      • apply

        public com.ibm.json.java.JSONObject apply(java.lang.String tuple)
        Specified by:
        apply in interface Function<java.lang.String,com.ibm.json.java.JSONObject>
streamsx.topology 2.1 @ IBMStreams GitHub