DeserializationHelpers 类
定义
public class DeserializationHelpers
- 继承
-
java.lang.ObjectDeserializationHelpers
方法
castObject(ObjectMapper mapper, Object payload, Class<T> clazz) |
Converts the payload object into a generic type. There are two different paths we will have to take based on the type T In case of a String, we need to write the value of the payload as a String In case of any other type that the user decides to deserialize the payload, we will use mapper.convertValue to perform the conversion. Updates a digital twin. |