关于代码规范的想法
#1203
Replies: 1 comment
-
都可能是 null,自己代码层面做 try catch 就行,JSON 本来就这样。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
响应的字段的类型,能否将num改为int 和 usize ,可能为null的用option包裹,可能缺失的字段注明。
解析的时候经常因为类型关系出错
要是同意的话我就一点点pull修改
Beta Was this translation helpful? Give feedback.
All reactions