JsonSerialize struct Error
Closed this issue · 3 comments
cloud8little commented
erikzhang commented
For ByteString
, we only support string.
For BigInteger
, we only support integers that between MIN_SAFE_INTEGER
and MAX_SAFE_INTEGER
, which is -9007199254740991
and 9007199254740991
.
cloud8little commented
For
ByteString
, we only support string.
ForBigInteger
, we only support integers that betweenMIN_SAFE_INTEGER
andMAX_SAFE_INTEGER
, which is-9007199254740991
and9007199254740991
.
since UInt160 type can be implicitly converted to ByteString, and it is 20 length bytes, but it can not be serialized. In my example, I input the bidder as UInt160 address hash, amount is 20.
erikzhang commented
We only support string. UInt160 is not supported.