Interface Filter

    • Method Detail

      • filter

        Boolean filter​(JSONObject obj)
        Returns true if variable is of the correct type, false otherwise.
        Parameters:
        obj - Variable object
        Returns:
        true if variable has needed properties, false otherwise
      • indexOf

        Boolean indexOf​(JSONObject obj,
                        String query)
        Returns true if one of its properties does contain the query string, false otherwise.
        Parameters:
        obj - Variable object
        query - Query string
        Returns:
        true if variable contains query string, false otherwise
      • getJSArray

        String getJSArray​(JSONObject obj)
        Returns a String representation of a JS array for this JSONObject.
        Parameters:
        obj - Variable object
        Returns:
        String representaiton of a JS array (i.e ['evar1','My evar (eVar)'])