@Override public Object parse(String str) {
      if (str == null) {
        return null;
      }
      try (Reader reader = new StringReader(str)) {
        return new Gson().fromJson(reader, Object.class);
      } catch (JsonIOException | JsonSyntaxException | IOException e) {
        return null;
      }
    }
Reads a value according to this type.
@param in a data input
@return an instance of a value for the type or null
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/properties/PropertyType.java