public interface JsonNodeAssistant<T>
| 限定符和类型 | 方法和说明 |
|---|---|
T |
convertTargetToJsonNode(Object target)
Convert the specified target to json node.
|
String |
determinePropertyName(String propertyName)
Determine the property name when reading or writing for json node.
|
String determinePropertyName(String propertyName)
Determine the property name when reading or writing for json node.
Sometimes, the property name is not the same as the field name, such as the field name is "userName", but the property name is "user_name" in json node, we can override this method to determine the property name.
propertyName - property nameCopyright © 2024. All rights reserved.