private boolean isJsonString(String jsonAsString) {
        jsonAsString = jsonAsString.trim();
        return jsonAsString.startsWith("{") || jsonAsString.startsWith("[");
    }
Used to obtain a JSONified object from a string

@param jsonAsString the json object represented in string form
@return the JSONified object representation if the input is a valid json string if the input
    is not a valid json string, it will be returned as-is and no exception is thrown
core/src/main/java/com/netflix/conductor/core/utils/JsonUtils.java