string marshal and unmarshal as nullable.
1.1. Before: marshals "" - caused an error; unmarshals nil data into "0".
1.2. Now: marshals and unmarshals nil data - "".
Big string (bigger then math.MaxInt64) marshal and unmarshal, before not supported, now supported.
custom string unmarshals, before not supported, now supported.
For all go types marshals and unmarshal functions are optimized.
Marshal data, which equal math.MaxUint64, into uint64, uint, return error before, now no error.
Fixed for
varint
type:string
marshal and unmarshal asnullable
. 1.1. Before: marshals""
- caused an error; unmarshalsnil data
into"0"
. 1.2. Now: marshals and unmarshalsnil data
-""
.string
(bigger thenmath.MaxInt64
) marshal and unmarshal, beforenot supported
, nowsupported
.custom string
unmarshals, beforenot supported
, nowsupported
.go types
marshals and unmarshal functions are optimized.math.MaxUint64
, intouint64
,uint
, returnerror
before, nowno error
.