code: private static <T> T fromJSON(byte[] src, Class<T> valueType) throws IOException {
          if (src == null)
              return null;
          return Manager.getObjectMapper().readValue(src, valueType);
      }
docs: helper method