Package org.cytoscape.work.json
Interface JSONResult
-
public interface JSONResult
This interface is intended to facilitate retrieving valid JSON strings fromObservableTask.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getJSON()
-
-
-
Method Detail
-
getJSON
String getJSON()
- Returns:
- A valid JSON String.
-
-