MyBatis 类型处理器(TypeHandler)注册与映射机制:JsonListTypeHandler和JsonListTypeHandler注册时机
下面几种机制会让你的List/Map能正确读写成JSON数组/对象文本:MyBatis-Plus自动注册最新版本的MyBatis-Plusstarter会把类路径下所有带@MappedTypes({List.class})、@MappedJdbcTypes(JdbcType.VARCHAR)这类注解的TypeHandler自动注册进TypeHandlerRegistry,所以即使你不在Config