time conversion
2022-01-12 21:40:36 -> 1641994836000,
2022-01-12 21:40:36 -> 2022/01/12 21:40:36,
Long to String
1402839809805524992 -> '1402839809805524992'
xml to json
<user>shenyu<user/> -> {"user":"shenyu"}
json to xml
{"user":"shenyu"} -> <user>shenyu<user/>
Defining such a format can support direct conversion and implement a certain standard interface, which can be converted into the desired type.
Volunteer help
For example,
Defining such a format can support direct conversion and implement a certain standard interface, which can be converted into the desired type.