code: public Object parseAsPropertyType(String stringToParse, String propertyPath) {
  
          Class propertyType = getPropertyType(propertyPath);
          if (propertyType == null) {
              return null;
          }
          NumberTransformer parser = transformers.get(propertyType);
          return parser == null ? stringToParse : parser.parseObject(stringToParse);
      }
docs: <p>
  Parses a given string into an object whose class corresponds with the type of the property given. For example,
  if you give the method "4", and you ask it to parse like "width", and width is of the type Long, you will
  receive an object of the type Long. If the property of the underlying class has a primitive type as its type,
  the method will return the boxed variant instead.
  </p>
  <p>
  <b>Currently, this method is only implemented for all numeric and boolean java types.</b>
  </p>
  
  @param stringToParse The string to convert into an object
  @param propertyPath  Dot-separated path to the property whose type is to be used as the class to convert to
  @return A converted instance of the given string into the type of the given property. If the propertyName does
  not correspond with a property name, null is returned. If the propertyName has any other type than a supported type
  the original string is returned.