Interface ResourcePropertyTransformer

    • Method Detail

      • transform

        JSONObject transform​(Resource resource,
                             java.lang.String parentSOM)
                      throws JSONException
        Transform the resource into a JSONObject.
        Parameters:
        resource - Resource whose JSON representation has to be returned
        parentSOM -
        Returns:
        JSON Object of the resource
        Throws:
        JSONException