Interface JSONResult


public interface JSONResult
This interface is intended to facilitate retrieving valid JSON strings from ObservableTask.getResults(Class). The primary intended user of this interface is CyREST, which will execute commands, and can benefit from returning JSON instead of Strings of unknown format, however, JSON data may be useful for apps that wish to retrieve data from another app's commands.
Author:
davidotasek
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details

    • getJSON

      String getJSON()
      Returns:
      A valid JSON String.