Interface JsonEvent

  • All Superinterfaces:
    DataEvent

    public interface JsonEvent
    extends DataEvent

    Provides information about a JSON message.

    The JsonEvent is provided in an onJsonUpdate callback to a SubscriptionListener.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object getJson()
      Returns the complete JSON object (patches applied) as created by the user defined JsonHandler (specified in the configuration).
      java.lang.String getJsonString()
      Returns the JSON string (initial image or patch) relating to the event.
    • Method Detail

      • getJsonString

        java.lang.String getJsonString()

        Returns the JSON string (initial image or patch) relating to the event.

        Returns:
        the JSON string
      • getJson

        java.lang.Object getJson()

        Returns the complete JSON object (patches applied) as created by the user defined JsonHandler (specified in the configuration).

        Returns:
        the JSON object (the type of this object is platform specific and depends on the JsonHandler configured).