code: static public <T> T fromString(Class<T> classType, String json) throws IOException {
          return safeMapper.readerFor(classType).readValue(json);
      }
docs: This function takes string containing Javascript Object Notation (JSON) and
  uses it to construct the corresponding smart object.  This function can be used
  for any non-parameterized type for example:
  <pre>
  Customer customer = SmartObject.fromString(Customer.class, jsonString);
  </pre>
  
  @param <T> The type of object being constructed.
  @param classType The concrete class type being constructed.
  @param json The JSON string.
  @return The corresponding object.
  @throws IOException The JSON string could not be parsed correctly.