-
Env: Postgres 12, Kotlin 1.3.70, JDBI 3.10.1 (core, kotlin, gson2, kotlin-sqlobject)
```
jdbi.installPlugin(SqlObjectPlugin())
jdbi.installPlugin(KotlinPlugin())
jdbi.installPlugin(KotlinSqlObje…
-
### 请描述您的问题
*询问有关本项目的使用和其他方面的相关问题。*
JSON.register(String.class, new StringToJsonSerializer());
全局配置了无效,必须每个字段上配置:如下
@JSONField(serializeUsing = StringToJsonSerializer.class)
private String …
-
- [ ] Stop using jsonfield. Either go more pure ORM or move games to redis.
- [ ] Allow for api-based gameplay
- [ ] ...
-
I create a new field on my model as such:
`some_json_field = JSONField(default=[], blank=True)`
However, when I generate the schemamigration (using python manage.py schemamigration appname --auto) a…
-
determine which dependencies are blocking upgrade (if any still are) so we can keep an eye on them and update when possible
- [x] investigate what needs to be done in order to upgrade
- [x] Prince…
-
### Describe the bug
When creating a CloudFront Function for simple HTTP basic authentication, you can insert a SecretValue into the inline FunctionCode. But if you wrap the SecretValue into Fn.base6…
kennu updated
4 months ago
-
Aloha!
For a big project of mine my data is stored as such:
```
abstract class A {
T1 first;
T2 second;
...other simple fields...
}
class B{
}
```
Since the scope for the data is so …
-
qrPath = qrPath + File.separator + "QR.jpg";
String qrUrl = baseUrl + "/qrcode/" + core.getUuid();
try {
URL qrUrlPicture = new URL(qrUrl);
File qrFile = new File(qrPath);
FileUtils.…
-
fastJsonConfig.setDateFormat("yyyy-MM-dd HH:mm:ss");全局配置会导致 @JSONField(format="yyyyMMdd HH:mm:ss")注解失效问题。我看已经有小伙伴提供了代码解决方案。
这个问题什么时候能合并到发行包中呀,我现在用的是1.2.60有什么方法可以暂时解决这个问题,一个个设置@JSONField或者全端处理就算了。
-
我加上了@JSONField(format = "0.00"),输出的结果依旧是一位小数