You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
of cause i read it。
i mean,if go stories number value to float,the precision will be lost;
for an example ,how to Unmarshal {"key":123123123123123123123123"} ???
m := make(map[string]interface{})
originJson := {"key":1123123123123123123}
json.Unmarshal([]byte(originJson), &m)
fmt.Printf("origin json %s -> after parsed %v", originJson, m["key"])
===output====
origin json {"key":1123123123123123123} -> after parsed 1.1231231231231231e+181123123123123123123,--- PASS: TestInvocation412131 (0.00s)
Unlike many projects on GitHub, the Go project does not use its bug tracker for general discussion or asking questions. We only use our bug tracker for tracking bugs and tracking proposals going through the Proposal Process.
BIAGT
The text was updated successfully, but these errors were encountered: