我有一个问题转换 postgresql jsonb 我创建了绑定,如教程中所述:jooq教程 另外请注意,我没有使用codegen在我的存储库中,我有以下代码
Binding binding = new PostgresJSONGsonBinding(); Field<JsonElement> gsonObj = DSL.field("gsonObj",SQLDataType.OTHER.asConvertedDataType(binding));
并在方法中输入错误
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated array at line 1 column 42 path $.factories[1]
有人可以帮助理解我做错了什么吗?
是的,我看到了其他问题:jooq的问题
HUWWW
相关分类