facebook v1.1.0 Release Notes
-
[FIX]
#19 Any valid int64 number larger than 253 or smaller than -253 can be correctly decoded without precision lost.
🛠 Fix for #19 will result a possible breaking change in
Result#Get
andResult#GetField
. If a JSON field is a number, these two functions will returnjson.Number
instead offloat64
.The fix also introduces a side effect in
Result#Decode
andResult#DecodeField
. A number field (int*
andfloat*
) can be decoded to a string. It was not allowed in previous version.