code: public static TaskRouting fromJson(String json) throws IOException {
          ObjectMapper mapper = new ObjectMapper();
          return mapper.readValue(json, TaskRouting.class);
      }
docs: 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