Interface ToolToJSON<T extends Tool>


public interface ToolToJSON<T extends Tool>
  • Method Summary

    Modifier and Type
    Method
    Description
    org.json.JSONObject
    toJSON(T tool)
     
  • Method Details

    • toJSON

      org.json.JSONObject toJSON(T tool)
      Parameters:
      tool - the tool to serialize
      Returns:
      the JSON representation of tool, in the shape this backend expects