danielgtaylor / danielgtaylor/python-betterproto
to_json will miss field.
Open
bug
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 234
- PR merge metrics
- No merged PRs in 30d
Description

json = program.to_json()
'{"sdkVersion": "Python 1.0.0", "head": {"usingQRegList": [0, 1, 2], "usingCRegList": [0, 1]}}'
If I use to_dict,I need to use include_default_values. If I don't use include_default_values, it miss field too.
Contributor guide
Assessment
This issue has not been assessed yet.