在Unmarshal的时候,该如何判断null/缺少key/于零值相等? #537
Unanswered
yellowmarlboro
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
比如
比如以上这种情况,我该怎么知道stage本身就是0还是json中本身就没有stage,我尝试过把stage设置为指针类型
*uint8
,在json-iterator可以起作用,但sonic会报错怎么判断这些情况?
Beta Was this translation helpful? Give feedback.
All reactions