-
## What component is this about ?
database model, potentially requiring API changes
## What is the idea ?
We are not ready to upgrade Django yet (waiting for the next LTS) but django 3.1 …
-
I want to update schema depending on separate field of model (e.g. "kind"). So there is a two main logic how to upload schema dynamically:
1. when there is a new obj creation, we have to upload defau…
-
-
I have a custom user model like this:
```
from djongo.models import JSONField
class User(AbstractUser):
_id = ObjectIdField(primary_key=True)
extra = JSONField(default=dict)
```
d…
-
#2004
如果为属性为null 不会执行自定义serializeUsing,
但会会执行全局配置的WriteNullStringAsEmpty
-
各位大神您好,这个问题困扰几天了一直没找到办法。
就是A服务上面我定义了一个ModelVO 里面加了 @JSONField(name="序列号")等,希望的是
最终结果如下(对应的json属性变成中文),但是会发现偶尔是中文 偶尔是英文,然后发现一个规律。如果json解析发现这个对象是linkedHashMap的时候 就是英文,如果是发现是ModelVo的时候就是中文(实际上我这…
hsgmj updated
5 years ago
-
Hi, I'm not sure if this is something I failed to find/understand from the docs or if it is an entirely new feature.
Basically I have a project in which models have a 'custom property' system powered…
-
### 问题描述
JSONArray.toJavaList()不支持Boolean类型到boolean类型的转换,导致赋值错误
### 环境信息
*请填写以下信息:*
- OS信息: windows 11
- JDK信息: jdk 1.8
- 版本信息:fastjson2-2.0.23.jar
### 重现步骤
string中为true,解析后为fal…
-
I adapted some of your code to allow cross-utilisation of django-jsonfield and django.contrib.postgres.fields.JSONField in the same project: https://dev.entrouvert.org/issues/29193
-
It would be great to be able to annotate a field with an XPath-like expression in addition to just a field name. The use case for this is to have a flatter POJO hierarchy than the JSON.
Example:
```…