将数据库字符串转换JSON、JSONArray查询出来

将数据库的字符串转成JSON

	@TableField(typeHandler = JsonTypeHandler.class, jdbcType= JdbcType.VARCHAR)
    private JSONObject jsonString;

将数据库的字符串转成JSONArray

	@TableField(typeHandler = JsonTypeHandler.class, jdbcType= JdbcType.VARCHAR)
    private JSONObject jsonString;

你可能感兴趣的:(编程小问题,数据库,json,java)