public static <T> T toObj(String json, Class<T> cls) {
		try {
			return mapper.readValue(json, cls);
		}
		catch (IOException e) {
			throw new NacosDeserializationException(cls, e);
		}
	}
Json string deserialize to Object.

@param json json string
@param cls  class of object
@param <T>  General type
@return object
@throws NacosDeserializationException if deserialize failed
spring-cloud-alibaba-starters/spring-alibaba-nacos-config/src/main/java/com/alibaba/cloud/nacos/annotation/JsonUtils.java