public static TaskRouting fromJson(String json) throws IOException {
        ObjectMapper mapper = new ObjectMapper();
        return mapper.readValue(json, TaskRouting.class);
    }
public static TaskRouting fromJson ( String json ) throws IOException { ObjectMapper mapper = new ObjectMapper ( ) ; return mapper . readValue ( json , TaskRouting . class ) ; }
Converts a JSON workflow configuration to a workflow rule object.

@param json JSON for workflow rule
@return a workflow rule target object
@throws IOException if unable to create object